hasDuplicate

Returns whether target contains duplicate names according to this level.

Return

Boolean true if any duplicates are detected under this level

Since

5.2.0

Parameters

target

List of strings to check for duplicates