- value<T>(enumObj, key): EnumValue<T> | undefined
Parameters
- enumObj: T
- key: undefined | null | string
Returns EnumValue<T> | undefined
- value<T>(enumObj): ((key: string | null | undefined) => EnumValue<T> | undefined)
Returns ((key: string | null | undefined) => EnumValue<T> | undefined)
- (key): EnumValue<T> | undefined
Parameters
- key: string | null | undefined
Returns EnumValue<T> | undefined