MCPcopy Create free account
hub / github.com/thetarnav/solid-devtools / isObjectType

Function isObjectType

packages/frontend/src/decode.ts:188–193  ·  view source on GitHub ↗
(
    value: DecodedValue,
)

Source from the content-addressed store, hash-verified

186 * Check if a value is an object type (array, object, or store).
187 */
188export const isObjectType = (
189 value: DecodedValue,
190): value is DecodedValue<ValueType.Array | ValueType.Object | ValueType.Store> => {
191 const {type} = value
192 return type === ValueType.Array || type === ValueType.Object || type === ValueType.Store
193}
194
195/**
196 * Check if a value is an object type (array, object, or store).

Callers 1

isValueNestedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…