Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netzo/deps/@tiptap/react.ts>removeDuplicates

Full-stack Deno framework for building business web apps like internal tools, dashboards, admin panels and automated workflows.
Go to Latest
function removeDuplicates
import { removeDuplicates } from "https://deno.land/x/netzo@0.5.106/deps/@tiptap/react.ts";

Removes duplicated values within an array. Supports numbers, strings and objects.

Parameters

array: T[]
optional
by: { (
value: any,
replacer?: ((
this: any,
key: string,
value: any,
) => any) | undefined
,
space?: string | number | undefined,
): string; (
value: any,
replacer?: (string | number)[] | null | undefined,
space?: string | number | undefined,
): string; }