Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Checks whether a list contains a given value.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
List | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
ListRef | The reference to the list returned from QuickList.New function. | $List |
Value | The value to check. | "Hello" |
Returns 1, 0 or error.
Checks if list contains value:
Set Variable [$q; Value:MBS("QuickList.New"; "Hello¶World")]
Show Custom Dialog ["Contains World"; MBS("QuickList.HasValue"; $q; "World")]
Show Custom Dialog ["Contains Test"; MBS("QuickList.HasValue";$q; "Test")]
Set Variable [$r; Value:MBS("QuickList.Free"; $q)]
This function checks for a license.
Created 12nd November 2014, last changed 12nd December 2014
QuickList.HasDuplicateItems - QuickList.IndexOfFirstValueMatching