All Downloads are FREE. Search and download functionalities are using the official Maven repository.

node_modules.core-js.modules._is-regexp.js Maven / Gradle / Ivy

There is a newer version: 1.1.2
Show newest version
// 7.2.8 IsRegExp(argument)
var isObject = require('./_is-object');
var cof = require('./_cof');
var MATCH = require('./_wks')('match');
module.exports = function (it) {
  var isRegExp;
  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');
};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy