Module

x/rambda/immutable.d.ts>either

Faster and smaller alternative to Ramda
Latest
function either
import { either } from "https://dotland.deno.dev/x/rambda@9.4.1/immutable.d.ts";

It returns a new predicate function from firstPredicate and secondPredicate inputs.

This predicate function will return true, if any of the two input predicates return true.

Parameters

firstPredicate: Pred
secondPredicate: Pred

Parameters

firstPredicate: Predicate<T>

Returns

(secondPredicate: Predicate<T>) => Predicate<T>

Parameters

firstPredicate: Pred

Returns

(secondPredicate: Pred) => Pred