Add `isBetween` method to vector