Skip to content

aninest-root / Animatable / getLocalInterpingToValue

getLocalInterpingToValue()

ts
function getLocalInterpingToValue<Animating, Key>(anim, key): 
  | undefined
  | SlicedAnimatable<Animating>[Key];

Defined in: Animate/Animatable.ts:608

Gets a value

Type Parameters

Animating

Animating extends SlicedAnimatable<Animatable<unknown>>

Key

Key extends string | number | symbol

Parameters

anim

Animation<Animating>

key

Key

Returns

| undefined | SlicedAnimatable<Animating>[Key]