keyMatch
Syntax
Description
returns tf
= keyMatch(A
,B
)1
(true
) if arrays A
and
B
are the same class, properties, dimensions, and values and returns
0
(false
) otherwise.
NaN
, NaT
, <undefined>
categorical elements, and <missing>
values are considered to be equal
to other such values. Handle objects match if they are the same handle.
The keyMatch
function determines equivalence on the properties of the
input. For custom classes keyMatch
may need to be overloaded to ensure
correct equivalence. For more information on using custom classes with dictionary, see Dictionaries and Custom Classes
Examples
Input Arguments
Version History
Introduced in R2022b
See Also
dictionary
| entries
| keys
| values
| types
| numEntries
| isConfigured
| isKey
| keyHash