isSymbol es-toolkit
Checks if a given value is a symbol.
Usage
isSymbol(value)
Use isSymbol when you want to check if a value is a symbol.
Useful for safely accessing object properties or managing metadata.
Parameters
valueunknownrequired
The value to check if it's a symbol.
Returns
Returns true if the value is a symbol, false otherwise.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.