Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_class_validator/src/decorator/array/ArrayUnique.ts

Decorator-based property validation for classes.
Latest
import * as denoClassValidator from "https://deno.land/x/deno_class_validator@v1.0.0/src/decorator/array/ArrayUnique.ts";

Functions

Checks if all array's values are unique. Comparison for objects is reference-based. If null or undefined is given then this function returns false.

Checks if all array's values are unique. Comparison for objects is reference-based. If null or undefined is given then this function returns false.