The None value — represents expected absence. Not a failure.
None
const cached: Maybe<User> = cache.has(id) ? some(cache.get(id)) : none(); Copy
const cached: Maybe<User> = cache.has(id) ? some(cache.get(id)) : none();
The
Nonevalue — represents expected absence. Not a failure.