3 lines
106 B
JavaScript
3 lines
106 B
JavaScript
export default function _isRegExp(x) {
|
|
return Object.prototype.toString.call(x) === '[object RegExp]';
|
|
} |