Documentation - v0.0.0
Preparing search index...
@arroyodev-llc/utils.projen
isComponent
Function isComponent
isComponent
<
T
extends
new
(
...
args
:
any
[]
)
=>
Component
>
(
ctor
:
T
,
component
:
any
,
)
:
component
is
InstanceType
<
T
>
Component type guard.
Type Parameters
T
extends
new
(
...
args
:
any
[]
)
=>
Component
Parameters
ctor
:
T
Component class.
component
:
any
Component instance to guard/test.
Returns
component
is
InstanceType
<
T
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation - v0.0.0
Loading...
Component type guard.