Detect whether an array of globs is a blacklist
$ npm install --save is-glob-blacklist
var isGlobBlacklist = require('is-glob-blacklist');
isGlobBlacklist(['foo']);
//=> false
isGlobBlacklist(['!foo']);
//=> true
isGlobBlacklist(['foo', '!foo/bar']);
//=> false
isGlobBlacklist(['!foo', 'foo/bar']);
//=> true
Type: string[]
Array of globs.
MIT © JM Versteeg