ClosedRange
extension ClosedRange where Bound == Version
-
Important
Returnsfalseifversionhas prerelease identifiers unless the range also contains prerelease identifiers.Declaration
Swift
public func contains(_ version: Version) -> BoolReturn Value
trueif the provided Version exists within this range.
View on GitHub
ClosedRange Extension Reference