Sha256: c1feb4d8e73ca6b255e2a32598f0ae0df35bb0f5d7828acf8243cc911b7c9325
Contents?: true
Size: 289 Bytes
Versions: 66
Compression:
Stored size: 289 Bytes
Contents
// 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'); };
Version data entries
66 entries across 30 versions & 8 rubygems