MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / isObject

Function isObject

packages/cli/src/utils/motionSpec.ts:23–25  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

21export type MotionSpecParse = { ok: true; spec: MotionSpec } | { ok: false; errors: string[] };
22
23function isObject(value: unknown): value is Record<string, unknown> {
24 return typeof value === "object" && value !== null && !Array.isArray(value);
25}
26
27function isSelector(value: unknown): value is string {
28 return typeof value === "string" && value.trim().length > 0;

Callers 2

validateAssertionFunction · 0.85
parseMotionSpecFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected