import { withoutAll } from "https://deno.land/std@0.217.0/collections/mod.ts";
Returns an array excluding all given values.
Examples
Example 1
Example 1
import { withoutAll } from "https://deno.land/std@0.217.0/collections/without_all.ts";
import { assertEquals } from "https://deno.land/std@0.217.0/assert/assert_equals.ts";
const withoutList = withoutAll([2, 1, 2, 3], [1, 2]);
assertEquals(withoutList, [3]);