samples/sample.js
function run(booleanOrString, anyDataType, functionOrObject, aNumber, anArray) {
        /*
        * if expectations aren't met, args checker will throw appropriate exceptions
        * notifying the user regarding the errors of the arguments.
        * */
    	args.expect(arguments, ['boolean|string', '*', 'function|object', 'number', 'array']);

        // do something here...
        console.log("\n\nfunction `run` arguments passed!");
    }
function run(booleanOrString, anyDataType, functionOrObject, aNumber, anArray) {
        /*
        * if expectations aren't met, args checker will throw appropriate exceptions
        * notifying the user regarding the errors of the arguments.
        * */
    	args.expect(arguments, ['boolean|string', '*', 'function|object', 'number', 'array']);

        // do something here...
        console.log("\n\nfunction `run` arguments passed!");
    }
function run ( booleanOrString , anyDataType , functionOrObject , aNumber , anArray ) { /*
        * if expectations aren't met, args checker will throw appropriate exceptions
        * notifying the user regarding the errors of the arguments.
        * */ args . expect ( arguments , [ 'boolean|string' , '*' , 'function|object' , 'number' , 'array' ] ) ; // do something here... console . log ( "\n\nfunction `run` arguments passed!" ) ; }
sample method.

@param {boolean/string}
@param {mixed/optional}
@param {function/object}
@param {number}
sample method .