MCPcopy Create free account
hub / github.com/Effect-TS/effect / isSymbol

Function isSymbol

packages/effect/src/Predicate.ts:686–688  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

684 * @since 2.0.0
685 */
686export function isSymbol(input: unknown): input is symbol {
687 return typeof input === "symbol"
688}
689
690/**
691 * Checks whether a value is a valid `PropertyKey` (string, number, or symbol).

Callers 1

isPropertyKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected