Skip to main content
Module

x/ramda/mod.ts>otherwise

:ram: Practical functional Javascript
Latest
variable otherwise
import { otherwise } from "https://deno.land/x/ramda@v0.27.2/mod.ts";

Returns the result of applying the onFailure function to the value inside a failed promise. This is useful for handling rejected promises inside function compositions.