Published
- 1 min read
moment between exclusivity
The solution for this is noted below
moment between exclusivity
Solution
// proposal 1
m.isBetween(a, b, '()') // both excluded
m.isBetween(a, b, '[)') // start included, end excluded
// proposal 2
m.isBetween(a, b, '+') // both included
m.isBetween(a, b, '+-') // start included, end excluded
Try other methods by searching on the site. That is if this doesn’t work