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

x/rambda/immutable.d.ts>without

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

It will return a new array, based on all members of source list that are not part of matchAgainst list.

R.equals is used to determine equality.

Parameters

matchAgainst: readonly T[]
source: readonly T[]

Returns

readonly T[]

Parameters

matchAgainst: readonly T[]

Returns

(source: readonly T[]) => readonly T[]