import { Parser } from "https://deno.land/x/ts_matches@v5.2.1/src/matches.ts";
This is another type of parsing that will return a value that is a discriminated union of the success and failure cases. https://www.typescriptlang.org/docs/handbook/typescript-in-5-minutes-func.html#discriminated-unions