Package: effect
Module: Predicate
Checks whether a value is undefined.
When to use
Use when you need a Predicate guard for values that are exactly
undefined.
Details
Uses input === undefined.
Example (Guarding undefined values)
import { Predicate } from "effect"
const data: unknown = undefined
console.log(Predicate.isUndefined(data))
See
isNotUndefinedisNullishSignature
declare const isUndefined: (input: unknown) => input is undefined
Since v2.0.0