Option: Option

Description Usage Format

Description

An Enum that mimics Rust's "Option" type. This is used to denote whether a function returned an object or not, rather than returning NULL.

Usage

1

Format

list with 1 Enum generators and 1 Enum variant

Some(x)

Wrap x in the 'Some' variant.

None

Variant denoting that nothing was returned.


matchr documentation built on Sept. 9, 2021, 5:07 p.m.

Related to Option in matchr...