diff options
Diffstat (limited to 'alarm/node_modules/lodash/_baseIsRegExp.js')
-rw-r--r-- | alarm/node_modules/lodash/_baseIsRegExp.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/alarm/node_modules/lodash/_baseIsRegExp.js b/alarm/node_modules/lodash/_baseIsRegExp.js deleted file mode 100644 index 6cd7c1a..0000000 --- a/alarm/node_modules/lodash/_baseIsRegExp.js +++ /dev/null @@ -1,18 +0,0 @@ -var baseGetTag = require('./_baseGetTag'), - isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var regexpTag = '[object RegExp]'; - -/** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ -function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; -} - -module.exports = baseIsRegExp; |