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

Function isEmptyComposition

packages/cli/src/commands/keyframes.ts:783–790  ·  view source on GitHub ↗
(cmp: SurfacedComposition)

Source from the content-addressed store, hash-verified

781}
782
783function isEmptyComposition(cmp: SurfacedComposition): boolean {
784 return (
785 cmp.tweens.length === 0 &&
786 cmp.traces.length === 0 &&
787 cmp.cssKeyframes.length === 0 &&
788 cmp.anime.length === 0
789 );
790}
791
792// Print tweens not already shown as part of a trace (a drawn stroke, or its
793// internal pen-up jump).

Callers 1

printCompositionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected