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


Queries data type of the value for the key.

Component Version macOS Windows Linux Server iOS SDK
Dictionary 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Dictionary.ValueTypeForKey"; DictionaryRef; Key )   More


Parameter Description Example
DictionaryRef The reference number to the dictionary. $dic
Key The key to use. Keys are case sensitive. "FirstName"


Returns type or error.


Queries data type of the value for the key.
Value can be Invalid, Text, Number, Date, Time, TimeStamp, Container or Boolean.

See also

Blog Entries

This function checks for a license.

Created 12nd March 2015, last changed 1st March 2021

Dictionary.ValueForKey - Dictionary.Values