MCPcopy
hub / github.com/Effect-TS/effect / isRecord

Function isRecord

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

Source from the content-addressed store, hash-verified

794 * @see isObject
795 */
796export const isRecord = (input: unknown): input is { [x: string | symbol]: unknown } =>
797 isRecordOrArray(input) && !Array.isArray(input)
798
799/**
800 * A refinement that checks if a value is a readonly record (i.e., a plain object).

Callers

nothing calls this directly

Calls 1

isRecordOrArrayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…