function fromPredicateimport { fromPredicate } from "https://deno.land/x/fun@v2.0.0-alpha.6/either.ts"; fromPredicate<E, A, B extends A>(refinement: Refinement<A, B>, onFalse: (a: A) => E): (a: A) => Either<E, B>Type ParametersEAB extends AParametersrefinement: Refinement<A, B>onFalse: (a: A) => EReturns(a: A) => Either<E, B>