Option

The Option module in the official reference contains several functions for working with Option types.

For an explanation of Options in Motoko see this chapter of this book..