isInBounds: Check if an argument is in the closed set [lower, upper]

Description

Function to check that a value x is between two values.

Usage

1
isInBounds(x, lower, upper)

Arguments

x

The value to check.

lower

The lower bound.

upper

The upper bound.


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.