Skip to content

isPropertyKey

isPropertyKey(value): value is PropertyKey

Defined in: packages/core/src/guards/is-property-key.ts:8

Check if a value is a PropertyKey — a valid JavaScript object property key.

unknown

The value to check

value is PropertyKey

True if the value is a PropertyKey