Type Utils
Preparing search index...
Experimental
Validator
Variable Validator
Const
Validator
:
ISchemaValidatorConstructor
&
{
setValidatorMessage
<
T
>
(
message
:
ValidatorMessageMap
<
T
>
,
schema
:
TypeGuard
<
T
>
,
)
:
TypeGuard
<
T
>
;
setValidatorMessage
<
T
>
(
message
:
ValidatorMessageMap
<
T
>
,
)
:
(
schema
:
TypeGuard
<
T
>
)
=>
TypeGuard
<
T
>
;
validate
<
T
>
(
arg
:
unknown
,
schema
:
TypeGuard
<
T
>
)
:
T
;
validate
<
T
>
(
arg
:
unknown
,
schema
:
TypeGuard
<
T
>
,
shouldThrow
:
true
)
:
T
;
validate
<
T
>
(
arg
:
unknown
,
schema
:
TypeGuard
<
T
>
,
shouldThrow
:
false
,
)
:
ValidateReturn
<
T
>
;
validate
<
T
>
(
arg
:
unknown
,
schema
:
TypeGuard
<
T
>
,
shouldThrow
:
boolean
,
)
:
ValidateReturn
<
T
>
;
}
= ...
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...