object-shape-tester - v6.9.2
Preparing search index...
matchesSchemaGuard
Function matchesSchemaGuard
matchesSchemaGuard
<
T
extends
TSchema
>
(
schema
:
TSchema
,
guard
:
(
schema
:
TSchema
)
=>
schema
is
T
,
)
:
schema
is
T
Checks if a schema guard matches the schema or a part of the schema's union.
Type Parameters
T
extends
TSchema
Parameters
schema
:
TSchema
guard
:
(
schema
:
TSchema
)
=>
schema
is
T
Returns
schema
is
T
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
object-shape-tester - v6.9.2
Loading...
Checks if a schema guard matches the schema or a part of the schema's union.