function matches.guardRe-exportimport { matches } from "https://deno.land/x/embassyd_sdk@v0.3.1.1.4/dependencies.ts"; const { guard } = matches; guard<A, B extends A>(test: (value: A) => value is B, testName?: string): Parser<A, B>Create a custom type guard Type ParametersAB extends AParameterstest: (value: A) => value is BA function that will determine runtime if the value matches optionaltestName: stringA name for that function, useful when it fails ReturnsParser<A, B>