toInterpolator

Creates an Interpolator from this Timing.

If the Timing is already an InterpolatorTiming, the underlying interpolator is returned directly. Otherwise, a new interpolator is created that delegates to this Timing.

Example usage:

val interpolator = Timing.easeInOut().toInterpolator()