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

x/rambda/files/index.d.ts>both

Faster and smaller alternative to Ramda
Go to Latest
function both
import { both } from "https://deno.land/x/rambda@v8.6.0/files/index.d.ts";

Parameters

pred1: Pred
pred2: Pred

Parameters

pred1: Predicate<T>
pred2: Predicate<T>

Returns

Predicate<T>

Parameters

pred1: Predicate<T>

Returns

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

Parameters

pred1: Pred

Returns

(pred2: Pred) => Pred