effect-io-ai

Package: effect
Module: Match

Match.null

Matches the value null.

When to use

Use to handle only the null literal in a match branch.

Details

This refinement is backed by Predicate.isNull, which checks input === null.

See

Signature

declare const null: Predicate.Refinement<unknown, null>

Source

Since v4.0.0