<< isConfigured | Dictionaries | keyHash >> |
tf = isKey(d) |
scalar: dictionary object.
scalar logical: true if key, false if not.
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.
If key is an array of multiple keys, then tf is a logical array of the same size.
names = ["Biil" "John" "Yann"];
wheels = [1 2 3];
d = dictionary(wheels, names)
tf = isKey(d, "John")
tf = isKey(d, ["biil" , "Yannis")
dictionary, configureDictionary, keys.
Version | Description |
---|---|
1.5.0 | initial version |
Allan CORNET