doxy/node/xml2js.js
function ofValidType(varSpec, varName, parent) {
  if (isValidType(varSpec.type, parent)) {
    return true;
  } else {
    var msgAddendum = (xml2js.opts.strict ? ' Omitted from JS documentation.' : '');
    console.log('Error: ' + varName + ' is of invalid type ' + typeToString(varSpec.type) + '.' + msgAddendum);
    return false;
  }
}
function ofValidType(varSpec, varName, parent) {
  if (isValidType(varSpec.type, parent)) {
    return true;
  } else {
    var msgAddendum = (xml2js.opts.strict ? ' Omitted from JS documentation.' : '');
    console.log('Error: ' + varName + ' is of invalid type ' + typeToString(varSpec.type) + '.' + msgAddendum);
    return false;
  }
}
function ofValidType ( varSpec , varName , parent ) { if ( isValidType ( varSpec . type , parent ) ) { return true ; } else { var msgAddendum = ( xml2js . opts . strict ? ' Omitted from JS documentation.' : '' ) ; console . log ( 'Error: ' + varName + ' is of invalid type ' + typeToString ( varSpec . type ) + '.' + msgAddendum ) ; return false ; } }
verify that type of variable is valid
verify that type of variable is valid