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

x/rambda/index.d.ts>symmetricDifference

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