Skip to content

Documentation / @ripl/core / InterpolatorFactory

Type Alias: InterpolatorFactory<TOut, TIn> ​

InterpolatorFactory<TOut, TIn> = (valueA, valueB) => Interpolator<TOut> & PredicatedFunction

Defined in: packages/core/src/interpolators/types.ts:11

A factory that creates an interpolator between two values of the same type, with a test predicate for type matching.

Type Parameters ​

Type ParameterDefault type
TOutnumber
TInTOut