Preparing search index...
The search index is not available
Documentation - v0.0.1
Documentation
typir
assertType
Function assertType
assertType
<
T
extends
Type
>
(
type
:
unknown
,
check
:
(
type
:
unknown
)
=>
type
is
T
,
msg
?:
string
,
)
:
asserts
type
is
T
Type Parameters
T
extends
Type
Parameters
type
:
unknown
check
:
(
type
:
unknown
)
=>
type
is
T
Optional
msg
:
string
Returns
asserts
type
is
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation - v0.0.1
Loading...