Skip to content

Instantly share code, notes, and snippets.

@sayler8182
Created November 13, 2020 13:43
Show Gist options
  • Save sayler8182/79be863362b1fdcd3f3441638d292e64 to your computer and use it in GitHub Desktop.
Save sayler8182/79be863362b1fdcd3f3441638d292e64 to your computer and use it in GitHub Desktop.
// MARK: String
public extension String {
var asVersion: Version? {
return Version(self)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment