public/javascripts/yui/paginator/paginator-debug.js
function (page) {
        if (!lang.isNumber(page) || page < 1) {
            return false;
        }

        var totalPages = this.getTotalPages();

        return (totalPages === Paginator.VALUE_UNLIMITED || totalPages >= page);
    }
function (page) {
        if (!lang.isNumber(page) || page < 1) {
            return false;
        }

        var totalPages = this.getTotalPages();

        return (totalPages === Paginator.VALUE_UNLIMITED || totalPages >= page);
    }
function ( page ) { if ( ! lang . isNumber ( page ) || page < 1 ) { return false ; } var totalPages = this . getTotalPages ( ) ; return ( totalPages === Paginator . VALUE_UNLIMITED || totalPages >= page ) ; }
Does the requested page have any records?
@method hasPage
@param page {number} the page in question
@return {boolean}
Does the requested page have any records?