src/PrototypeBuilder.js
function(args, data, msg) {
        if (typeof (args) !== 'object') {
            args = [args];
        }

        for (var i in args) {
            if (args.hasOwnProperty(i) === false) continue;
            if (JOII.Compat.indexOf(data, args[i]) !== -1) {
                throw msg;
            }
        }
    }
function(args, data, msg) {
        if (typeof (args) !== 'object') {
            args = [args];
        }

        for (var i in args) {
            if (args.hasOwnProperty(i) === false) continue;
            if (JOII.Compat.indexOf(data, args[i]) !== -1) {
                throw msg;
            }
        }
    }
function ( args , data , msg ) { if ( typeof ( args ) !== 'object' ) { args = [ args ] ; } for ( var i in args ) { if ( args . hasOwnProperty ( i ) === false ) continue ; if ( JOII . Compat . indexOf ( data , args [ i ] ) !== - 1 ) { throw msg ; } } }
Shorthand for validating other flags within the same declaration. If args exists in data, msg is thrown.
Shorthand for validating other flags within the same declaration . If args exists in data msg is thrown .