Function filterObject

  • Type Parameters

    • T extends Record<K, V>

    • K extends string

    • V

    Parameters

    • obj: T
    • f: ((element, index, arr) => boolean)
        • (element, index, arr): boolean
        • Parameters

          • element: [K, V]
          • index: number
          • arr: [K, V][]

          Returns boolean

    Returns Partial<T>

Generated using TypeDoc