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

Function byReference

packages/effect/src/Equal.ts:522–522  ·  view source on GitHub ↗
(obj: T)

Source from the content-addressed store, hash-verified

520 * @since 4.0.0
521 */
522export const byReference = <T extends object>(obj: T): T => byReferenceUnsafe(new Proxy(obj, {}))
523
524/**
525 * Marks an object permanently to use reference equality, without creating a proxy.

Callers

nothing calls this directly

Calls 1

byReferenceUnsafeFunction · 0.85

Tested by

no test coverage detected