Demo
GitHub
Preparing search index...
The search index is not available
averyfy
averyfy
avery
Variable avery
Const
avery
:
{
array
:
<
T
>
(
validator
:
Validator
<
T
,
string
[]
>
)
=>
ArrayValidator
<
T
>
;
boolean
:
()
=>
BooleanValidator
;
number
:
()
=>
NumberValidator
;
object
:
<
S
extends
Record
<
string
,
Validator
<
unknown
,
unknown
>
>
,
T
extends
InferSchema
<
S
>
=
InferSchema
<
S
>
,
>
(
schema
:
S
,
)
=>
Validator
<
T
,
string
[]
>
;
string
:
()
=>
StringValidator
;
}
= ...
The main entry point for creating schemas.
Type declaration
array
:
<
T
>
(
validator
:
Validator
<
T
,
string
[]
>
)
=>
ArrayValidator
<
T
>
boolean
:
()
=>
BooleanValidator
number
:
()
=>
NumberValidator
object
:
<
S
extends
Record
<
string
,
Validator
<
unknown
,
unknown
>
>
,
T
extends
InferSchema
<
S
>
=
InferSchema
<
S
>
,
>
(
schema
:
S
,
)
=>
Validator
<
T
,
string
[]
>
string
:
()
=>
StringValidator
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Demo
GitHub
averyfy
Loading...
The main entry point for creating schemas.