ezyVet Javascript Helper Library Documentation
Preparing search index...
findFirstKey
Function findFirstKey
findFirstKey
<
T
extends
Record
<
string
,
any
>
>
(
obj
:
T
,
predicate
:
(
item
:
any
)
=>
boolean
,
)
:
string
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}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ezyVet Javascript Helper Library Documentation
Loading...
Returns the name of the key for the first result resolved by the predicate