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. |
Argument evaluation
interval: Evaluated once in the enclosing context.
Examples
#null | is-within-interval(#null) → #false
Kind: Predicate
Scope: numeric
Aliases: within-interval, numeric-is-within-interval