Casts a given string value into a TS comprehensible type
Usually a shorthand for Enum[findFirstKeyWithValue(Enum, 'foo')]
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
Casts a given string value into a TS comprehensible type
Usually a shorthand for Enum[findFirstKeyWithValue(Enum, 'foo')]