utilitish - v0.0.10
    Preparing search index...

    Type Alias Selector<T, K>

    Selector: keyof T | ((item: T) => K)

    Type for a selector: either a key of T or a function from T to K.

    Type Parameters

    • T
    • K