Skip to content

webshrine / stdlib/src / hasOwn

Function: hasOwn()

hasOwn(...parameters): boolean

Checks if the object has own property with the specified key.

Parameters

parameters

...[AnyObject, string]

Returns

boolean

Defined in

packages/stdlib/src/utils/common.ts:35