• Filter all keys matching the filter function and create a shallow clone of the object without the filtered keys

    Type Parameters

    • TOut extends object = object

    • TIn extends object = object

    Parameters

    • obj: TIn

      object to filter the keys from

    • filterFn: ((key) => any)

      filter function

        • (key): any
        • Parameters

          • key: string

          Returns any

    Returns TOut