Refactor `equal` matchers using `switch` and `guard`
Refactor `equal` matchers using `switch` and `guard`

(cherry picked from commit dc794d6501cca32da808bbe0ae4b5f6683067653)

Quick/Nimble,phatblat/Nimble,AnthonyMDev/Nimble,Quick/Nimble,twobitlabs/Nimble,AnthonyMDev/Nimble,twobitlabs/Nimble,phatblat/Nimble,twobitlabs/Nimble,Quick/Nimble,AnthonyMDev/Nimble,phatblat/Nimble