is-within-interval
is-within-interval(
interval: any
)
Returns true if the numeric value passed as argument is between the lower bound and the upper bound defined in the interval. Returns false otherwise.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
interval | any | Yes | A numeric interval to compare to the argument. |
Kind: Predicate
Scope: numeric
Aliases: within-interval, numeric-is-within-interval