Vinyl
Preparing search index...
@amzn/vinyl-validation
instanceOf
Function instanceOf
instanceOf
<
const
T
>
(
clazz
:
new
(
...
args
:
any
[]
)
=>
T
)
:
ValueSchema
<
T
>
Validates that the input is an instanceof the given prototype.
Type Parameters
const
T
Parameters
clazz
:
new
(
...
args
:
any
[]
)
=>
T
Returns
ValueSchema
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Vinyl
Loading...
Validates that the input is an instanceof the given prototype.