Skip to main content
variable union
import { union } from "https://deno.land/x/30_seconds_of_typescript@v1.0.1/util.ts";

Returns every element that exists in any of the two arrays once.

Create a Set with all values of a and b and convert to an array.

type

(a: any[], b: any[]) => unknown