Last active
March 30, 2022 13:25
-
-
Save adam-rocska/9f7c23f52bd5fca7728b7a2278eef6d5 to your computer and use it in GitHub Desktop.
A Swift operator unwrapping & returning an optional value if it exists, while throwing an error if it doesn't.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TODO: Depend on https://github.com/21GramConsulting/Beton instead |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Go and depend on https://github.com/21GramConsulting/Beton To use this operator & many similar ones. We’ll shovel our things in one big pile of goodies.