optional.match

Provides a match function for optional types

Members

Templates

match
template match(handlers...)

Calls an appropriate handler depending on if the optional has a value or not

Meta