mirror of
https://github.com/swc-project/swc.git
synced 2024-12-29 16:42:28 +03:00
7 lines
187 B
TypeScript
7 lines
187 B
TypeScript
// Loaded from https://deno.land/x/ramda@v0.27.2/source/internal/_isRegExp.js
|
|
|
|
|
|
export default function _isRegExp(x) {
|
|
return Object.prototype.toString.call(x) === '[object RegExp]';
|
|
}
|