src/parse/patterns.js
function isCollection(obj) {
  if (isPattern(obj)) {
    return false;
  }
  return Object.keys(obj).some(childKey => isPattern(obj[childKey]));
}
function isCollection(obj) {
  if (isPattern(obj)) {
    return false;
  }
  return Object.keys(obj).some(childKey => isPattern(obj[childKey]));
}
function isCollection ( obj ) { if ( isPattern ( obj ) ) { return false ; } return Object . keys ( obj ) . some ( childKey => isPattern ( obj [ childKey ] ) ) ; }
Is the obj a collection?
@param {Object} obj
@return {Boolean}
Is the obj a collection?