function isRegExpimport { isRegExp } from "https://deno.land/x/isx@1.5.0/is_reg_exp.ts"; isRegExp(input: unknown): input is RegExpWhether the input is RegExp of not. ExamplesExample 1 import { isRegExp } from "https://deno.land/x/isx@$VERSION/is_reg_exp.ts"; import { assertEquals } from "https://deno.land/std/testing/asserts.ts"; assertEquals(isRegExp(new RegExp("")), true); assertEquals(isRegExp({}), false); Parametersinput: unknown Any input. Returnsinput is RegExp