Skip to main content
Module

x/rambda/immutable.d.ts>symmetricDifference

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

It returns a merged list of x and y with all equal elements removed.

R.equals is used to determine equality.

Parameters

x: readonly T[]
y: readonly T[]

Returns

readonly T[]

Parameters

x: readonly T[]

Returns

<T>(y: readonly T[]) => readonly T[]