function decoder.refineimport { decoder } from "https://deno.land/x/fun@v2.0.0-alpha.6/mod.ts"; const { refine } = decoder; refine<A, B extends A>(refinement: (a: A) => a is B, id: string): <I>(from: Decoder<I, A>) => Decoder<I, B>Type ParametersAB extends AParametersrefinement: (a: A) => a is Bid: stringReturns<I>(from: Decoder<I, A>) => Decoder<I, B>