@shopify/cli-kit
    Preparing search index...

    Function pickBy

    • 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: Dictionary<T> | null | undefined

        The source object.

      • predicate: ValueKeyIteratee<T>

        The function invoked per property.

      Returns Dictionary<T>

      Returns the new object.