MCPcopy Index your code
hub / github.com/Effect-TS/effect / isRecordOrArray

Function isRecordOrArray

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

Source from the content-addressed store, hash-verified

554 * @internal
555 */
556export const isRecordOrArray = (input: unknown): input is { [x: PropertyKey]: unknown } =>
557 typeof input === "object" && input !== null
558
559/**
560 * A refinement that checks if a value is an `object`. Note that in JavaScript,

Callers 2

isObjectFunction · 0.85
isRecordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected