ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function findFirstKey

    • Returns the name of the key for the first result resolved by the predicate

      Type Parameters

      • T extends Record<string, any>

      Parameters

      • obj: T
      • predicate: (item: any) => boolean

      Returns string

      {string}