src/aria/core/JsonTypesCheck.js
function (args) {
        var v = args.value;
        var beanDef = args.beanDef;
        if (typeof(v) != 'number') {
            return __badTypeError(this, args);
        }
        if (typeof(beanDef.$minValue) != "undefined" && v < beanDef.$minValue) {
            return jv._logError(jv.NUMBER_RANGE, [args.value, args.path, "$minValue", beanDef.$minValue]);
        }
        if (typeof(beanDef.$maxValue) != "undefined" && v > beanDef.$maxValue) {
            return jv._logError(jv.NUMBER_RANGE, [args.value, args.path, "$maxValue", beanDef.$maxValue]);
        }
    }
function (args) {
        var v = args.value;
        var beanDef = args.beanDef;
        if (typeof(v) != 'number') {
            return __badTypeError(this, args);
        }
        if (typeof(beanDef.$minValue) != "undefined" && v < beanDef.$minValue) {
            return jv._logError(jv.NUMBER_RANGE, [args.value, args.path, "$minValue", beanDef.$minValue]);
        }
        if (typeof(beanDef.$maxValue) != "undefined" && v > beanDef.$maxValue) {
            return jv._logError(jv.NUMBER_RANGE, [args.value, args.path, "$maxValue", beanDef.$maxValue]);
        }
    }
function ( args ) { var v = args . value ; var beanDef = args . beanDef ; if ( typeof ( v ) != 'number' ) { return __badTypeError ( this , args ) ; } if ( typeof ( beanDef . $minValue ) != "undefined" && v < beanDef . $minValue ) { return jv . _logError ( jv . NUMBER_RANGE , [ args . value , args . path , "$minValue" , beanDef . $minValue ] ) ; } if ( typeof ( beanDef . $maxValue ) != "undefined" && v > beanDef . $maxValue ) { return jv . _logError ( jv . NUMBER_RANGE , [ args . value , args . path , "$maxValue" , beanDef . $maxValue ] ) ; } }
Common processing function for floats and integers.
@private
@param {Object} args
Common processing function for floats and integers .