Module

x/rambda/index.d.ts>complement

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

It returns inverted version of origin function that accept input as argument.

The return value of inverted is the negative boolean value of origin(input).

Type Parameters

T extends any[]

Parameters

predicate: (...args: T) => unknown

Returns

(...args: T) => boolean