Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

interpolateDate

Returns an interpolator between the two dates a and b.

Note: no defensive copy of the returned date is created; the same Date instance is returned for every evaluation of the interpolator. No copy is made for performance reasons; interpolators are often part of the inner loop of animated transitions.

function interpolateDate(a: Date, b: Date): ((t: number) => Date);
§
interpolateDate(a: Date, b: Date): ((t: number) => Date)
[src]

§Parameters

§
a: Date
[src]
§
b: Date
[src]

§Return Type

§
((t: number) => Date)
[src]