import { match } from "https://deno.land/x/fuzzy_octo_guacamole@v5.0.1/index.ts";
match
creates a pattern matching expression.
- Use
.with(pattern, handler)
to pattern match on the input. - Use
.exhaustive()
or.otherwise(() => defaultValue)
to end the expression and get the result.
Parameters
value: input