UNPKG

143 BJavaScriptView Raw
1var IMPORT_PREFIX_PATTERN = /^@import/i;
2
3function isImport(value) {
4 return IMPORT_PREFIX_PATTERN.test(value);
5}
6
7module.exports = isImport;