Closed aleclarson closed 6 years ago
Thoughts?
let foo = 1 if (0 < foo < 100) { log('> 0 && < 100') } if (foo in 0...2) { log('>= 0 && <= 2') }
I'd probably just add a method in the Range interface.
assert(0..3.contains(1))
Thoughts?