Finds the first key on an enumerator that matches a specific value.
The enum.
The value to be searched within the enum's values.
Function used to check the equality between search and the enum values. Default is a strict equality check (a === b).
search
Generated using TypeDoc
Finds the first key on an enumerator that matches a specific value.