• This method is like _.find except that it returns the key of the first element predicate returns truthy for instead of the element itself.

    Type Parameters

    • T

    Parameters

    • object: undefined | null | T

      The object to search.

    • Optionalpredicate: ObjectIteratee<T>

      The function invoked per iteration.

    Returns undefined | string

    Returns the key of the matched element, else undefined.