mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-11 02:31:05 +03:30
9 lines
289 B
JavaScript
Vendored
9 lines
289 B
JavaScript
Vendored
// 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');
|
|
};
|