MCPcopy Create free account
hub / github.com/effect-app/libs / isPropertyKey

Function isPropertyKey

repos/effect/packages/effect/src/Predicate.ts:704–706  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

702 * **Example** (Guarding property keys)
703 *
704 * ```ts import.meta.vitest
705 * import { Predicate } from "effect"
706 *
707 * const key: unknown = "name"
708 * const obj: Record<PropertyKey, unknown> = { name: "Ada" }
709 *

Callers

nothing calls this directly

Calls 3

isNumberFunction · 0.85
isSymbolFunction · 0.85
isStringFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…