_isRegExp.js 106 B

123
  1. export default function _isRegExp(x) {
  2. return Object.prototype.toString.call(x) === '[object RegExp]';
  3. }