Files
Moderne-Datenbanken/praesentation/node_modules/is-regexp/index.js
T
2026-05-31 13:54:31 +02:00

6 lines
134 B
JavaScript

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