mirror of
https://github.com/thangisme/notes.git
synced 2024-10-31 22:27:22 -04:00
5 lines
116 B
JavaScript
5 lines
116 B
JavaScript
'use strict';
|
|
module.exports = function (re) {
|
|
return Object.prototype.toString.call(re) === '[object RegExp]';
|
|
};
|