Skip to main content
Module

x/ramda/source/index.js>otherwise

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

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.