Function filterOnProps

  • A function for filtering lists of objects. It takes in a list of objects, and an object to filter on. The filter value may be a string, number or boolean.

    Type Parameters

    • T

    Parameters

    • data: T[]
    • propsToFilterOn: Filter<T>

    Returns T[]

    {T[]}

    Export

Generated using TypeDoc