Type alias Selector<State, Result>

Selector<State, Result>: ((state) => Result)

A selector is a function that selects or computes a value from a given state.

Type Parameters

  • State

    Type of the selector's state input

  • Result

    Type of the selector's result

Type declaration

Returns

The selected or computed value from state

Generated using TypeDoc