feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
@@ -0,0 +1,20 @@
import { isRegExp as isRegExp$1 } from "../../predicate/isRegExp.mjs";
//#region src/compat/predicate/isRegExp.ts
/**
* Checks if `value` is a RegExp.
*
* @param {any} value The value to check.
* @returns {boolean} Returns `true` if `value` is a RegExp, `false` otherwise.
*
* @example
* const value1 = /abc/;
* const value2 = '/abc/';
*
* console.log(isRegExp(value1)); // true
* console.log(isRegExp(value2)); // false
*/
function isRegExp(value) {
return isRegExp$1(value);
}
//#endregion
export { isRegExp };