isEmpty
A Boolean value indicating whether the range contains no elements.
Declaration
var isEmpty: Bool { get }Discussion
Because a closed range cannot represent an empty range, this property is always false.
A Boolean value indicating whether the range contains no elements.
var isEmpty: Bool { get }Because a closed range cannot represent an empty range, this property is always false.