1
0
mirror of https://github.com/thangisme/notes.git synced 2024-06-10 07:00:41 +00:00
notes/node_modules/is-regexp/index.js
Patrick Marsceill b7b0d0d7bf
Initial commit
2017-03-09 13:16:08 -05:00

5 lines
116 B
JavaScript

'use strict';
module.exports = function (re) {
return Object.prototype.toString.call(re) === '[object RegExp]';
};