Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/nessie/cli/utils.ts>arrayIsUnique

A modular Deno library for PostgreSQL, MySQL, MariaDB and SQLite migrations
Go to Latest
function arrayIsUnique
import { arrayIsUnique } from "https://deno.land/x/nessie@2.0.10/cli/utils.ts";

Checks if an array only contains unique values

Parameters

array: unknown[]

Returns

boolean