123456789101112131415161718192021222324252627 |
- var baseIsRegExp = require('./_baseIsRegExp'),
- baseUnary = require('./_baseUnary'),
- nodeUtil = require('./_nodeUtil');
- var nodeIsRegExp = nodeUtil && nodeUtil.isRegExp;
- var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;
- module.exports = isRegExp;
|