- Preparing search index...
- The search index is not available
@nathanpb/kext
Function firstKeyWithValueOf
- firstKeyWithValueOf<K, V>(enumerator: Enumerator<K, V>, search: any, comparator?: ((search: V, enumValue: V) => boolean)): keyof K
-
Parameters
-
enumerator: Enumerator<K, V>
-
search: any
-
comparator: ((search: V, enumValue: V) => boolean) = ...
-
- (search: V, enumValue: V): boolean
-
Returns boolean
Returns keyof K
Finds the first key on an enumerator that matches a specific value.