Options
Menu

Class Selection<T, U, K>

Selection offers the ability to operate on nested properties in a Unit's value.

Selection is a simple construct that operates on a nested property in the non-primitive Units' value, ie: ListUnit, GenericUnit and DictUnit.

See https://docs.activejs.dev/utilities/selection for more details.

Hierarchy

  • Selection

Constructors

Methods

Constructors

constructor

  • new Selection(unit: U, path: (string | number)[]): Selection

Methods

asObservable

  • asObservable(): Observable<T | undefined>

value

  • value(): T | undefined