import { isMatching } from "https://deno.land/x/fuzzy_octo_guacamole@v5.0.1/mod.ts";
isMatching
takes pattern and returns a type guard function, cheching if a value matches this pattern.
Type Parameters
p extends Pattern<unknown>
Parameters
pattern: p
isMatching
takes pattern and a value and checks if the value matches this pattern.
Type Parameters
p extends Pattern<unknown>
Parameters
pattern: p