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

Function isObject

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

Source from the content-addressed store, hash-verified

578 * @see isRecord to check for plain objects (excluding arrays and functions).
579 */
580export const isObject = (input: unknown): input is object => isRecordOrArray(input) || isFunction(input)
581
582/**
583 * A refinement that checks if a value is an object-like value and has a specific property key.

Callers 7

propFunction · 0.90
isGenKindFunction · 0.85
isGeneratorFunctionFunction · 0.85
Predicate.tsFile · 0.85
dieFunction · 0.85
failFunction · 0.85
core.tsFile · 0.85

Calls 2

isRecordOrArrayFunction · 0.85
isFunctionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…