Skip to main content

hasOwn

还没翻译译自英文(tanstack.com)本页 10 段都还没译

function hasOwn(obj, key): boolean;

Defined in: utils.ts:88

Checks whether an object owns a key, including null-prototype dictionaries.

Parameters

obj

object

key

PropertyKey

Returns

boolean