(reg, file)
| 136 | } |
| 137 | |
| 138 | function isExclude(reg, file) { |
| 139 | if (Object.prototype.toString.call(reg) !== '[object RegExp]') { |
| 140 | throw new Error('options.exclude should be RegExp.'); |
| 141 | } |
| 142 | return file.match(reg) !== null; |
| 143 | } |
| 144 | |
| 145 | function declarationExists(decls, prop, value) { |
| 146 | return decls.some(function (decl) { |
no outgoing calls
no test coverage detected
searching dependent graphs…