nothing top-level constant

Nothing const nothing

A class representing the absence of a value.

This is useful when you need to return a value from a function that doesn't have a meaningful result.

Implementation

const nothing = Nothing();