TypeScript function that indicates if a strongly typed TypeScript array contains duplicates.
No-Library (pure JS), HTML, CSS, TypeScript