Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typebox/src/type/guard/value.ts>IsRegExp

Json Schema Type Builder with Static Type Resolution for TypeScript
Go to Latest
function IsRegExp
import { IsRegExp } from "https://deno.land/x/typebox@0.33.22/src/type/guard/value.ts";

Returns true if this value is RegExp

Parameters

value: unknown

Returns

value is RegExp