effect-io-ai

Package: effect
Module: Match

Match.undefined

Matches the value undefined.

When to use

Use when a matcher should handle only inputs with no defined value.

Details

This refinement is backed by Predicate.isUndefined, which checks input === undefined.

See

Signature

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

Source

Since v4.0.0