Skip to main content
Module

x/rambda/immutable.d.ts>without

Faster and smaller alternative to Ramda
Go to Latest
function without
import { without } from "https://deno.land/x/rambda@v7.0.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[]