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