[keyType, valueType] = types(d)
keyType = types(d)
| Parameter | Description |
|---|---|
| d | scalar: dictionary object. |
| Parameter | Description |
|---|---|
| keyType | string scalar: Data type of dictionary keys. |
| valueType | string scalar: Data type of dictionary values. |
keyType = types(d) returns the data type of the keys in the dictionary.
[keyType, valueType] = types(d) returns the data types of the keys and values in the specified dictionary. If the dictionary d is not configured, types returns a string scalar indicating missing.
names = ["Biil" "John" "Yann"];
wheels = [1 2 3];
d = dictionary(wheels, names)
[keyType, valueType] = types(d)
| Version | Description |
|---|---|
| 1.5.0 | initial version |