reports/frontend/node_modules/es-toolkit/dist/compat/predicate/isRegExp.mjs
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

20 lines
498 B
JavaScript

import { isRegExp as isRegExp$1 } from "../../predicate/isRegExp.mjs";
//#region src/compat/predicate/isRegExp.ts
/**
* Checks if `value` is a RegExp.
*
* @param value The value to check.
* @returns 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 };