Package: effect
Module: Function
Returns undefined when called.
When to use
Use when you need a thunk that returns undefined on every invocation.
Example (Returning undefined from a thunk)
import { Function } from "effect"
import * as assert from "node:assert"
assert.deepStrictEqual(Function.constUndefined(), undefined)
Signature
declare const constUndefined: LazyArg<undefined>
Since v2.0.0