Skip to content

ValueOrZero

Compare
Choose a tag to compare
@guregu guregu released this 14 Dec 16:37

Added a new method ValueOrZero to every type in the null package. This method returns the inner value if valid, or the zero value if invalid (similar to the zero package). See #17.