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

QuickList.HasValues

Checks whether a list contains the given values.

Component Version macOS Windows Linux Server iOS SDK
QuickList 14.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "QuickList.HasValues"; ListRef; Values )   More

Parameters

Parameter Description Example
ListRef The reference to the list returned from QuickList.New function. $List
Values The values to check. "Hello¶World"

Result

Returns list or error.

Description

Checks whether a list contains the given values.
Returns the list of matching values.
Text comparison is case sensitive.
Like QuickList.HasValue, but checking for a list.

Examples

Check if a list has values:

Let([
    list = MBS("QuickList.New"; "Hello¶World¶123");
    found = MBS("QuickList.HasValues"; list; "World¶Other¶123");
    r = MBS("QuickList.Release"; list)
]; found)

See also

Release notes

  • Version 14.2
    • Added QuickList.HasValues and Dictionary.HasKeys functions.

Blog Entries

This function checks for a license.

Created 17th March 2024, last changed 19th March 2024


QuickList.HasValue - QuickList.IndexOfFirstValueMatching