Package: effect
Module: Option
Checks whether an Option represents the absence of a value (None).
Example
import { Option } from "effect"
console.log(Option.isNone(Option.some(1)))
// Output: false
console.log(Option.isNone(Option.none()))
// Output: true
See
isSome for the opposite check.Signature
declare const isNone: <A>(self: Option<A>) => self is None<A>
Since v2.0.0