lib/agitoJsonLoader.js
function areArgumentsValid(args) {

  var isValid = args.every(function(arg) {
    if (Array.isArray(arg)) {
      return areArgumentsValid(arg);
    }
    return (arg !== null && typeof arg === 'object');
  });

  return isValid;

}
function areArgumentsValid(args) {

  var isValid = args.every(function(arg) {
    if (Array.isArray(arg)) {
      return areArgumentsValid(arg);
    }
    return (arg !== null && typeof arg === 'object');
  });

  return isValid;

}
function areArgumentsValid ( args ) { var isValid = args . every ( function ( arg ) { if ( Array . isArray ( arg ) ) { return areArgumentsValid ( arg ) ; } return ( arg !== null && typeof arg === 'object' ) ; } ) ; return isValid ; }
Check if the passed arguments are valid. As long as arrays are encountered,
they are recursively checked.

@param {*[]} args - The arguments to check

@return {Boolean} - true when the arguments are correct, otherwise false
Check if the passed arguments are valid . As long as arrays are encountered they are recursively checked .