@glideapps/ts-necessities
Preparing search index...
hasOwnProperty
Function hasOwnProperty
hasOwnProperty
<
T
extends
string
>
(
obj
:
unknown
,
name
:
T
,
)
:
obj
is
{
[
P
in
string
]
:
unknown
}
Returns whether
obj
has
name
as its own property.
Type Parameters
T
extends
string
Parameters
obj
:
unknown
name
:
T
Returns
obj
is
{
[
P
in
string
]
:
unknown
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@glideapps/ts-necessities
Loading...
Returns whether
obj
hasname
as its own property.