Home > @taiyuuki/utils > MathRange > is_between
MathRange.is_between() method
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.
判断一个数字是否在区间内
Signature:
typescript
is_between(num: number): boolean;
is_between(num: number): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
num | number | 一个数字 |
Returns:
boolean
判断结果