keyMatch
Check whether two dictionary keys are same.
📝Syntax
tf = keyMatch(A, B)
📥Input Arguments
Parameter Description
A array
B array
📤Output Arguments
Parameter Description
tf logical: true or false.
📄Description

tf = keyMatch(A, B) returns true if arrays A and B have identical classes, properties, dimensions, and values, and returns false otherwise.

For custom classes, overloading keyMatch may be necessary to ensure accurate equivalence.

💡Examples
A = {'a', 'b', 1};
B = {1, 'a', 'b'};
C = A;
D = B;
keyMatch(A, B)
keyMatch(A, C)
keyMatch(B, D)
🔗See Also
keyHash
🕔Version History
Version Description
1.5.0 initial version
Edit this page on GitHub