Type Utils
Preparing search index...
ensureInstanceOf
Function ensureInstanceOf
ensureInstanceOf
<
Instance
,
Constructor
extends
ConstructorSignature
<
any
>
>
(
value
:
Instance
,
type
:
Constructor
,
)
:
InstanceType
<
Constructor
>
Type Parameters
Instance
Constructor
extends
ConstructorSignature
<
any
>
Parameters
value
:
Instance
type
:
Constructor
Returns
InstanceType
<
Constructor
>
ensureInstanceOf
<
Constructor
extends
ConstructorSignature
<
any
>
>
(
type
:
Constructor
,
)
:
<
Instance
>
(
value
:
Instance
)
=>
InstanceType
<
Constructor
>
Type Parameters
Constructor
extends
ConstructorSignature
<
any
>
Parameters
type
:
Constructor
Returns
<
Instance
>
(
value
:
Instance
)
=>
InstanceType
<
Constructor
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Type Utils
Loading...