David Feuer wrote:
+1 on the function. -1/2 on the name.
To be honest, I briefly considered the name `lookupEQ`. The name would fit nicely with `lookupGT` and company.
Nicolas.