UNPKG

pragmatic-fp-ts

Version:

Opinionated functional programming library with easy use in mind

8 lines (6 loc) 197 B
import { symDiff } from "../main.ts"; describe("symmetricDifference()", () => { it("behaves well", () => { expect(symDiff([1, 2, 3, 4])([7, 6, 5, 4, 3])).toEqual([1, 2, 7, 6, 5]); }); });