ClosedRange
extension ClosedRange where Bound == Version
-
Important
Returnsfalse
ifversion
has prerelease identifiers unless the range also contains prerelease identifiers.Declaration
Swift
public func contains(_ version: Version) -> Bool
Return Value
true
if the provided Version exists within this range.