Function: isPropertyKey()
isPropertyKey(value
): value is PropertyKey
A type predicate for an object property key.
Parameters
• value: unknown
Any value
Returns
value is PropertyKey
true
if the value is a string, number or symbol.
Defined in
src/types.ts:67