MCPcopy Index your code
hub / github.com/angular/angular / normalizeAnimationEntry

Function normalizeAnimationEntry

packages/animations/browser/src/util.ts:152–160  ·  view source on GitHub ↗
(
  steps: AnimationMetadata | AnimationMetadata[],
)

Source from the content-addressed store, hash-verified

150}
151
152export function normalizeAnimationEntry(
153 steps: AnimationMetadata | AnimationMetadata[],
154): AnimationMetadata {
155 if (Array.isArray(steps)) {
156 if (steps.length == 1) return steps[0];
157 return sequence(steps);
158 }
159 return steps as AnimationMetadata;
160}
161
162export function validateStyleParams(
163 value: string | number | null | undefined,

Callers 5

buildMethod · 0.90
visitTransitionMethod · 0.90
visitReferenceMethod · 0.90
visitQueryMethod · 0.90
visitStaggerMethod · 0.90

Calls 2

sequenceFunction · 0.90
isArrayMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…