js-util

Home > rc-js-util > _Array > mapRange

_Array.mapRange property

Like arrayMap() with integer range as input.

Signature:

static readonly mapRange: typeof arrayMapRange;

Remarks

Where from and to are equal a length 1 array is returned, NaN input is not supported.

See arrayMapRange().