B2G/gecko/browser/components/tabview/modules/utils.jsm
// Returns true if the given object (r) looks like a <Rect>.
Returns true if the given object (r) looks like a .
Returns true if the given object ( r ) looks like a .
function Utils_isRect(r) {
    return (r &&
            this.isNumber(r.left) &&
            this.isNumber(r.top) &&
            this.isNumber(r.width) &&
            this.isNumber(r.height));
  }
function Utils_isRect ( r ) { return ( r && this . isNumber ( r . left ) && this . isNumber ( r . top ) && this . isNumber ( r . width ) && this . isNumber ( r . height ) ) ; }
Returns true if the given object (r) looks like a <Rect>.
Returns true if the given object ( r ) looks like a <Rect > .