sanitation.js
function isPositiveIntegerArray(value) {
    var success = true;
    for(var i = 0; i < value.length; i++) {
        if(!config.checkIntegerValue.test(value[i]) || parseInt(value[i]) <= 0) {
            success = false;
            break;
        }
    }
    return success;
}
function isPositiveIntegerArray(value) {
    var success = true;
    for(var i = 0; i < value.length; i++) {
        if(!config.checkIntegerValue.test(value[i]) || parseInt(value[i]) <= 0) {
            success = false;
            break;
        }
    }
    return success;
}
function isPositiveIntegerArray ( value ) { var success = true ; for ( var i = 0 ; i < value . length ; i ++ ) { if ( ! config . checkIntegerValue . test ( value [ i ] ) || parseInt ( value [ i ] ) <= 0 ) { success = false ; break ; } } return success ; }
Validates the non-zero positive integer value from the array of strings and returns true for success.
@method isPositiveInteger
@param {Array} value The values to be tested.
Validates the non - zero positive integer value from the array of strings and returns true for success .