Module

x/rambda/immutable.d.ts>symmetricDifference

Faster and smaller alternative to Ramda
Latest
function symmetricDifference
import { symmetricDifference } from "https://dotland.deno.dev/x/rambda@9.4.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[]