Selector<T, V> typedef

Selector<T, V> = V Function(T inst, Select select)

This function type takes an argument of T type and a Select function, and returns a value of R type. This function type can be used to compute a value based on the provided arguments.

Implementation

typedef Selector<T, V> = V Function(
  T inst,
  Select select,
);