isKey
Check if dictionary contains key
📝 Syntax
tf = isKey(d)
📥 Input argument
d - scalar: dictionary object.
📤 Output argument
tf - scalar logical: true if key, false if not.
📄 Description
tf = isKey(d, key) returns a logical true if the specified key exists in the configured dictionary, and a logical false if it does not.
If d is an unconfigured dictionary,isKey throws an error.
Ifkey is an array of multiple keys, then tf is a logical array of the same size.
💡 Example
🔗 See also
dictionary, configureDictionary, keys.
🕔 History
Version
📄 Description
1.5.0
initial version
Last updated
Was this helpful?