Reference

selector

Creates keyed boolean cells that update only for the previous and next selected keys.

Signature

function selector<TValue, TKey>(source: ReadonlyCell<TValue>, options?: { equals?: SelectorEquality<TValue, TKey> }): Selector<TValue, TKey>