Skip to content

Documentation / Animatable / getLocalInterpingToValue

getLocalInterpingToValue()

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

Defined in: Animate/Animatable.ts:615

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]