Skip to main content
Module

x/maybe/mod.ts

A deno module for handling null and undefined values, inspired by Rusts Option<T>
Latest
import * as maybe from "https://deno.land/x/maybe@2.0.0/mod.ts";

Functions

Equivalent to nodes isNullOrUndefined, asserts whether given value is null | undefined or not

Utility/ease of use function to create a matcher and chain maps to it