mirror of
https://github.com/thangisme/notes.git
synced 2024-11-09 07:17:31 -05: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]';
|
|
};
|