EqualP[value]⟹pattern
returns a pattern that matches any quantity equal to value.
Test if two values are equal:
Units can be different:
Does not match if values are not equal:
Does not match if quantities are unequal: