Selector<T, V> typedef
Selector<T, V> =
V Function(T inst, Select select)
This function takes an argument of T
type and a Select function, and returns a value of R
type.
This function can be used to compute a value based on the provided arguments.
Implementation
typedef Selector<T, V> = V Function(
T inst,
Select select,
);