The ~= operator in Swift

Sometimes, we have to check if a number is between a range, and as usual, we do something like :

Check if number is between 0 and 100 included

if number >=0 && number <= 100 {  
  // TODO:
}

It works, but we can do better and swiftier. The Swift Standard library have an ~= operator, so we can do instead :

if 0...100 ~= number {  
  // TODO:
}

And you, what cool things do you know ?

Thanks you for reading.