Skip to main content
Module

x/funky/mod.ts>isNone

Getting funky with Deno!
Latest
variable isNone
import { isNone } from "https://deno.land/x/funky@v0.3.2/mod.ts";

Type-safe check whether @option is of type OptionNone<T>.

If @option is neither OptionSome nor OptionNone an Error is thrown.

type

<T>(option: Option<T>) => option is OptionNone<T>