import { isNone } from "https://deno.land/x/ahh@v0.13.0/src/option.ts";
Returns whether option
is a None
value.
Examples
Example 1
Example 1
import { assert } from "../test_deps.ts";
import O from "./option.ts";
assert(O.isNone(undefined));
assert(O.isNone(null));