Files
arbiter/node_modules/is-regexp/index.js
2025-03-19 22:47:50 -05:00

6 lines
134 B
JavaScript

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