Preparing search index...
The search index is not available
Stedi SDK for JavaScript
Stedi SDK for JavaScript
@stedi/sdk-util-validation
EnumValidator
Class EnumValidator
Hierarchy
EnumValidator
Implements
SingleConstraintValidator
<
string
,
EnumValidationFailure
>
Index
Constructors
constructor
Properties
allowed
Values
non
Internal
Values
Methods
validate
Constructors
constructor
new
Enum
Validator
(
allowedValues
:
readonly
string
[]
, nonInternalValues
?:
readonly
string
[]
)
:
EnumValidator
Parameters
allowedValues:
readonly
string
[]
Optional
nonInternalValues:
readonly
string
[]
Returns
EnumValidator
Properties
Private
Readonly
allowed
Values
allowed
Values
:
string
[]
Private
Readonly
non
Internal
Values
non
Internal
Values
:
string
[]
Methods
validate
validate
(
input
:
string
, path
:
string
)
:
EnumValidationFailure
Parameters
input:
string
path:
string
Returns
EnumValidationFailure
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Enum
Validator
constructor
allowed
Values
non
Internal
Values
validate