Package: effect
Module: Option
Provides a pre-built Some(undefined) constant.
When to use
Use to return a “success with no meaningful value” from an Option-returning function
Example (Referencing Option.void)
import { Option } from "effect"
console.log(Option.void)
// Output: { _id: 'Option', _tag: 'Some', value: undefined }
See
asVoid to convert an existing Option to Option<void>Signature
declare const void: Option<void>
Since v2.0.0