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

Function isObjectVariableValue

packages/sdk/src/engine/mutate.ts:811–815  ·  view source on GitHub ↗

* True when the value is a FontValue or ImageValue object * (object-valued; must NOT be written as a CSS custom property).

(
  value: string | number | boolean | FontValue | ImageValue,
)

Source from the content-addressed store, hash-verified

809 * (object-valued; must NOT be written as a CSS custom property).
810 */
811function isObjectVariableValue(
812 value: string | number | boolean | FontValue | ImageValue,
813): value is FontValue | ImageValue {
814 return typeof value === "object" && value !== null && !Array.isArray(value);
815}
816
817function handleSetVariableValue(
818 parsed: ParsedDocument,

Callers 1

handleSetVariableValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected