3 lines
106 B
JavaScript

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