function isPointInsideRect(point, rect) {
    return point.y <= rect.bottom && point.y >= rect.top && point.x >= rect.left && point.x <= rect.right;
}
@param {Point} point
@param {Rect} rect
@return {boolean|boolean}