Skip to content

Documentation / @agentick/shared / hasSymbol

Function: hasSymbol()

hasSymbol(value, symbol): boolean

Defined in: identity.ts:48

Check if a value has a specific symbol marker.

Parameters

value

unknown

The value to check

symbol

symbol

The symbol to look for

Returns

boolean

True if the value has the symbol marker

Released under the ISC License.