Skip to content
mxcl edited this page May 29, 2021 · 1 revision

Extensions on Range

Methods

contains(_:)

public func contains(_ version: Version) -> Bool 
  • Returns: true if the provided Version exists within this range.
  • Important: Returns false if version has prerelease identifiers unless the range also contains prerelease identifiers.
Clone this wiki locally