Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fae/either.ts

A functional module for Deno inspired from Ramda.
Latest
import * as fae from "https://deno.land/x/fae@v1.1.1/either.ts";

Variables

A function wrapping calls to the two functions in an || operation, returning the result of the first function if it is true and the result of the second function otherwise. Second function will not be invoked if the first returns a true value.