Preparing search index...
The search index is not available
matter.js-monorepo
matter.js-monorepo
@matter/types
.
validatorOf
Function validatorOf
validator
Of
<
A
>
(
test
)
:
(
(
...
a
:
A
)
=>
boolean
)
Convert a function that may throw a ValidationError into a boolean predicate.
Type Parameters
A
extends
any
[]
Parameters
test
:
(
(
...
a
:
A
)
=>
void
)
(
...
a
)
:
void
Parameters
Rest
...
a
:
A
Returns
void
Returns
(
(
...
a
:
A
)
=>
boolean
)
(
...
a
)
:
boolean
Parameters
Rest
...
a
:
A
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
matter.js-monorepo
Loading...
Convert a function that may throw a ValidationError into a boolean predicate.