type-plus
Preparing search index...
hasProperty
Function hasProperty
hasProperty
<
T
,
P
extends
string
|
number
|
symbol
>
(
value
:
T
,
prop
:
P
,
)
:
value
is
T
&
Record
<
P
,
T
[
P
]
>
Type Parameters
T
P
extends
string
|
number
|
symbol
Parameters
value
:
T
prop
:
P
Returns
value
is
T
&
Record
<
P
,
T
[
P
]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus
Loading...