- isValue<V, T>(enumObj, value): value is EnumValue<T>
Parameters
- enumObj: T
- value: undefined | null | NoInfer<V>
- isValue<V, T>(enumObj): ((value: V | null | undefined) => value is EnumValue<T>)
Returns ((value: V | null | undefined) => value is EnumValue<T>)
- (value): value is EnumValue<T>
Parameters
- value: V | null | undefined