@tempots/dom
guessInterpolate() function
Returns an interpolation function based on the type of the value.
Signature:
guessInterpolate: (value: T) => Interpolate
Parameters
Parameter |
Type |
Description |
---|---|---|
value |
T |
The value to be interpolated. |
Returns: Interpolate
An interpolation function that takes a start value, an end value, and a delta, and returns an interpolated value.