valitype
Preparing search index...
validators
validators
Variable validators
Const
validators
:
{
all
:
(
...
validators
:
CustomValidatorFn
[]
)
=>
CustomValidatorFn
;
awsArn
:
(
service
?:
string
,
errorMsg
?:
string
)
=>
CustomValidatorFn
;
date
:
(
format
?:
string
,
errorMsg
?:
string
)
=>
CustomValidatorFn
;
json
:
(
errorMsg
?:
string
)
=>
CustomValidatorFn
;
oneOf
:
(
allowedValues
:
unknown
[]
,
errorMsg
?:
string
)
=>
CustomValidatorFn
;
range
:
(
min
:
number
,
max
:
number
,
errorMsg
?:
string
)
=>
CustomValidatorFn
;
regex
:
(
pattern
:
RegExp
,
errorMsg
?:
string
)
=>
CustomValidatorFn
;
}
= ...
Type declaration
all
:
(
...
validators
:
CustomValidatorFn
[]
)
=>
CustomValidatorFn
awsArn
:
(
service
?:
string
,
errorMsg
?:
string
)
=>
CustomValidatorFn
date
:
(
format
?:
string
,
errorMsg
?:
string
)
=>
CustomValidatorFn
json
:
(
errorMsg
?:
string
)
=>
CustomValidatorFn
oneOf
:
(
allowedValues
:
unknown
[]
,
errorMsg
?:
string
)
=>
CustomValidatorFn
range
:
(
min
:
number
,
max
:
number
,
errorMsg
?:
string
)
=>
CustomValidatorFn
regex
:
(
pattern
:
RegExp
,
errorMsg
?:
string
)
=>
CustomValidatorFn
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
valitype
Loading...