dist/scripts/scripts.js
function isPropertyRequired(property, requiredArray) {
  var found = false;
  requiredArray = requiredArray || [];
  requiredArray.forEach(function(requiredProperty) {
      if (requiredProperty === property) {
        found = true;
      }
  });
  return found;
}
function isPropertyRequired(property, requiredArray) {
  var found = false;
  requiredArray = requiredArray || [];
  requiredArray.forEach(function(requiredProperty) {
      if (requiredProperty === property) {
        found = true;
      }
  });
  return found;
}
function isPropertyRequired ( property , requiredArray ) { var found = false ; requiredArray = requiredArray || [ ] ; requiredArray . forEach ( function ( requiredProperty ) { if ( requiredProperty === property ) { found = true ; } } ) ; return found ; }
Checks whether a property is on required array.
@param property - the property to check.
@param requiredArray - the required array
@returns {boolean}
Checks whether a property is on required array .