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 if the given key exists in dictionary.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dictionary | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
DictionaryRef | The reference number to the dictionary. | $dic |
Key | The key to use. Keys are case sensitive. Also keys must be text and should be single line. | "FirstName" |
Returns 1, 0 or error.
Checks if some values are there:
$hasText = MBS("Dictionary.HasKey"; $Param; "text")
$hasFun = MBS("Dictionary.HasKey"; $Param; "fun")
This function checks for a license.
Created 12nd December 2014, last changed 1st March 2021