Yes,  it is so inconvenient to use that CloseRange isn’t the special of Range.  
But according to your case,  CountableRange can be used in the condition. And 
ClosedCountableRange and CountableRange is  available to converting. Refer: 
https://oleb.net/blog/2016/09/swift-3-ranges/
_______________________________________________
swift-users mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to