index.js
function isNotAPattern(pattern) {
  let set = new Minimatch(pattern).set;
  if (set.length > 1) {
    return false;
  }

  for (let j = 0; j < set[0].length; j++) {
    if (typeof set[0][j] !== 'string') {
      return false;
    }
  }

  return true;
}
function isNotAPattern(pattern) {
  let set = new Minimatch(pattern).set;
  if (set.length > 1) {
    return false;
  }

  for (let j = 0; j < set[0].length; j++) {
    if (typeof set[0][j] !== 'string') {
      return false;
    }
  }

  return true;
}
function isNotAPattern ( pattern ) { let set = new Minimatch ( pattern ) . set ; if ( set . length > 1 ) { return false ; } for ( let j = 0 ; j < set [ 0 ] . length ; j ++ ) { if ( typeof set [ 0 ] [ j ] !== 'string' ) { return false ; } } return true ; }
copied mostly from node-glob cc @isaacs
copied mostly from node - glob cc