mirror of
https://github.com/LukeHagar/arbiter.git
synced 2025-12-06 20:37:49 +00:00
6 lines
134 B
JavaScript
6 lines
134 B
JavaScript
const {toString} = Object.prototype;
|
|
|
|
export default function isRegexp(value) {
|
|
return toString.call(value) === '[object RegExp]';
|
|
}
|