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

Function isSimpleKey

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

Source from the content-addressed store, hash-verified

283
284const referentialKeysCache = new WeakMap<any, any>()
285const isSimpleKey = (u: unknown): boolean => typeof u !== "object" && typeof u !== "function"
286
287/**
288 * Returns an iterable over the keys in the `MutableHashMap`.

Callers 1

MutableHashMap.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected