UNPKG

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) 620 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Array](./rc-js-util._array.md) &gt; [generateRange](./rc-js-util._array.generaterange.md) ## \_Array.generateRange property Generates a range of integers output in an `Array`<!-- -->. **Signature:** ```typescript static readonly generateRange: typeof arrayGenerateRange; ``` ## Remarks Where `from` and `to` are equal a length 1 array is returned, NaN input is not supported. See [arrayGenerateRange()](./rc-js-util.arraygeneraterange.md)<!-- -->.