src/rect.js
function isBetween(p, left, right) {
    if (p >= left && p <= right)
        return true;

    return false;
}
function isBetween(p, left, right) {
    if (p >= left && p <= right)
        return true;

    return false;
}
Returns true if (left <= p <= right).
False otherwise.