Files
lcbp3.np-dms.work/frontend/node_modules/is-regexp/index.js
2025-09-21 20:29:15 +07:00

6 lines
134 B
JavaScript

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