index.js
function (p, bbox) {
        return p[0] >= bbox[0] &&
               p[0] <= bbox[2] &&
               p[1] >= bbox[1] &&
               p[1] <= bbox[3];
    }
function (p, bbox) {
        return p[0] >= bbox[0] &&
               p[0] <= bbox[2] &&
               p[1] >= bbox[1] &&
               p[1] <= bbox[3];
    }
function ( p , bbox ) { return p [ 0 ] >= bbox [ 0 ] && p [ 0 ] <= bbox [ 2 ] && p [ 1 ] >= bbox [ 1 ] && p [ 1 ] <= bbox [ 3 ] ; }
Returns true if the given point is inside in the given bounding box, otherwise false.

@param {Array<number>} p point [longitude, latitude]
@param {Array<number>} box object ([w, s, e, n])
@returns {boolean}
@example
var inside = ruler.insideBBox([30.5, 50.5], [30, 50, 31, 51]);
//=inside
Returns true if the given point is inside in the given bounding box otherwise false .