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

Function isReadonlyObject

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

Source from the content-addressed store, hash-verified

1073 * @since 4.0.0
1074 */
1075export function isReadonlyObject(input: unknown): input is { readonly [x: PropertyKey]: unknown } {
1076 return isObject(input)
1077}
1078
1079/**
1080 * Checks whether a value is an `object` in the JavaScript sense (objects, arrays, functions).

Callers

nothing calls this directly

Calls 1

isObjectFunction · 0.85

Tested by

no test coverage detected