R
T

ProjectorFunction

testeddemo

A pure mapping from a value in the `from` domain to the `to` domain.

Demo

Loading demo…

Signature

ts
export type ProjectorFunction<F, T>
  = (input: F, from: readonly [F, F], to: readonly [T, T]) => T;

Type Parameters

F
T