NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in
ts
function hasDuplicates(arr: any[]): boolean;

Defined in: utils/index.d.ts:151

Checks if array has any duplicate elements.

Parameters

ParameterTypeDescription
arrany[]The array to be checked.

Returns

boolean

Previous
getWindow