rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
21 lines (11 loc) • 598 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [\_Array](./rc-js-util._array.md) > [mapRange](./rc-js-util._array.maprange.md)
## \_Array.mapRange property
Like [arrayMap()](./rc-js-util.arraymap.md) with integer range as input.
**Signature:**
```typescript
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()](./rc-js-util.arraymaprange.md)<!-- -->.