• Creates an object composed of the object properties predicate returns truthy for. The predicate is invoked with two arguments: (value, key).

    Type Parameters

    • T

    Parameters

    • object: undefined | null | Dictionary<T>

      The source object.

    • predicate: ValueKeyIteratee<T>

      The function invoked per property.

    Returns Dictionary<T>

    Returns the new object.