public/javascripts/yui/carousel/carousel-debug.js
function (val) {
            var rv = false;

            if (JS.isNumber(val)) {
                rv = val >= 0 && val < 100;
            }

            return rv;
        }
function (val) {
            var rv = false;

            if (JS.isNumber(val)) {
                rv = val >= 0 && val < 100;
            }

            return rv;
        }
function ( val ) { var rv = false ; if ( JS . isNumber ( val ) ) { rv = val >= 0 && val < 100 ; } return rv ; }
Validate the revealAmount value.

@method _validateRevealAmount
@param val {Number} The revealAmount value
@return {Boolean} The status of the validation
@protected
Validate the revealAmount value .