5 lines
116 B
JavaScript
5 lines
116 B
JavaScript
'use strict';
|
|
module.exports = function (re) {
|
|
return Object.prototype.toString.call(re) === '[object RegExp]';
|
|
};
|