@storm-stack/types
Version:
⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
17 lines (16 loc) • 374 B
TypeScript
/**
* Checks if `value` is classified as a `isRegExp` object.
*
* @example
* ```typescript
* isRegExp(new Date)
* // => true
*
* isRegExp('Mon April 23 2012')
* // => false
* ```
*
* @param value - The value to check.
* @returns Returns `true` if `obj` is a isRegExp object, else `false`.
*/
export declare const isRegExp: (value: unknown) => value is RegExp;