Skip to content
On this page

Home > @taiyuuki/utils > MathRange > (constructor)

MathRange.(constructor)

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Range 构造函数

Signature:

typescript
constructor(r: string | number);
constructor(r: string | number);

Parameters

ParameterTypeDescription
rstring | number数字区间,也可以是单独一个数字。例如: (4, 10],表示大于 4 且小于等于 10 的区间。

Released under the MIT License.