Documentation
Preparing search index...
ts_lib/lib/utils
hasPropertyT
Function hasPropertyT
hasPropertyT
<
Obj
extends
object
,
T
>
(
obj
:
Obj
,
property
:
string
,
isT
:
(
t
:
unknown
)
=>
t
is
T
,
)
:
boolean
Check if an object contains the property and the type of the property value is T
Type Parameters
Obj
extends
object
T
Parameters
obj
:
Obj
property
:
string
isT
:
(
t
:
unknown
)
=>
t
is
T
Returns
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...
Check if an object contains the property and the type of the property value is T