Returns whether the key (b) passed is equal to key (a).
To return true, their ids must be equal.
There is an allowVariants option that is true by default that allows the keyB to be equal if any of their variants match.
allowVariants
Returns whether the key (b) passed is equal to key (a).
To return true, their ids must be equal.
There is an
allowVariants
option that is true by default that allows the keyB to be equal if any of their variants match.