Documentation

Binding​.all()

Creates a new binding that combines multiple bindings using AND semantics.

static all<A extends Array<undefined | null | string | Binding<any>>>(
...sources: A
): Binding<A[number] extends Binding<infer T> ? T : any>;

Summary

Returns the last value if all values are truthy, otherwise returns the first falsy value. Returns true if no valid sources remain after filtering.

Parameters

Return value

A new Binding object

Related