delphirtl

delphirtlDocs


delphirtl / haveNoDuplicates

Function: haveNoDuplicates()

haveNoDuplicates(arr1, arr2, key): boolean

Compare all elements of arr1 and arr2 and ensure they have no duplicates

Parameters

arr1: any[]

arr2: any[]

key: string

Returns

boolean

true if there’s duplicates, false otherwise

Defined in

src/arrayutils.ts:55