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

x/rambda/mod.ts>symmetricDifference

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