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

Function isPrimaryKey

packages/effect/src/PrimaryKey.ts:87–87  ·  view source on GitHub ↗
(u: unknown)

Source from the content-addressed store, hash-verified

85 * @since 4.0.0
86 */
87export const isPrimaryKey = (u: unknown): u is PrimaryKey => hasProperty(u, symbol)
88
89/**
90 * Extracts the string value from a `PrimaryKey`.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected