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.
Parameters
Section titled “Parameters”unknown
The value to check
Returns
Section titled “Returns”value is PropertyKey
True if the value is a PropertyKey