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

Function isObject

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

Source from the content-addressed store, hash-verified

1083 * @since 2.0.0
1084 */
1085export function isObject(input: unknown): input is { [x: PropertyKey]: unknown } {
1086 return typeof input === "object" && input !== null && !Array.isArray(input)
1087}
1088
1089/**
1090 * Checks whether a value is a non-null, non-array object and narrows it to a

Callers 15

decodeFunction · 0.90
apiErrorFunction · 0.90
adapter.tsFile · 0.90
idOfFunction · 0.90
resolveStarterFunction · 0.90
downloadFunction · 0.90
reasonForResponseFunction · 0.90
reasonForRestErrorFunction · 0.90
graphErrorFunction · 0.90
richTextItemsFunction · 0.90
walkFunction · 0.90
hasRichTextFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected