Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

List.HasDuplicateItems

Checks if list has duplicates.

Component Version macOS Windows Linux Server iOS SDK
List 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "List.HasDuplicateItems"; List )   More

Parameters

Parameter Description Example
List The list to process. "Hello" ¶ "Hello" ¶ "World"

Result

Returns 1, 0 or error.

Description

Checks if list has duplicates.
Returns 1 if duplicate lines are found or 0 if not.

Examples

Try it:

MBS( "List.HasDuplicateItems"; "Hello¶Test¶World¶Test" )

Example result: 1

See also

Release notes

Blog Entries

This function checks for a license.

Created 21st October 2017, last changed 18th December 2020


List.GetValue - List.HasValue

💬 Ask a question or report a problem