- Preparing search index...
- The search index is not available
Deepkit
Function isValidEnumValue
- isValidEnumValue(enumDefinition: any, value: any, allowLabelsAsValue?: boolean): boolean
-
Parameters
-
enumDefinition: any
-
value: any
-
allowLabelsAsValue: boolean = false
Returns boolean
Checks whether given enum value is valid.