Skip to main content
Module

x/careful/mod.ts>None

Safe containerization of values for TypeScript
Latest
class None
extends OptionAbstract<null>
import { None } from "https://deno.land/x/careful@v0.1.0/mod.ts";

None is a type that represents no value. It is similar to the Nothing type in Haskell.

Examples

const none = new None();

Constructors

new
None()

Methods

afm()

Asnyc Flat Map

am()

Asnyc Map

fm()

Flat Map

m()

Map