code: function(point, bbox) {
          return inRange(point[0], bbox[0][0], bbox[1][0])
                  && inRange(point[1], bbox[0][1], bbox[1][1]);
          function inRange(val, a, b) {
              return (val - a) * (val - b) <= 0;
          }
      }
docs: Returns <code>true</code> a point is contained in the specified
  bounding box.