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

scaleIdentity

Constructs a new identity scale with the specified domain and range. If range is not specified, it defaults to [0, 1].

The generic corresponds to the data type of the unknown value.

function scaleIdentity<Unknown = never>(range?: Iterable<NumberValue>): ScaleIdentity<Unknown>;
§
scaleIdentity<Unknown = never>(range?: Iterable<NumberValue>): ScaleIdentity<Unknown>
[src]

§Type Parameters

§
Unknown = never
[src]

§Parameters

§
range?: Iterable<NumberValue> optional
[src]

Array of range values.

§Return Type