Package: effect
Module: Predicate
Type guard that always returns false.
When to use
Use when you need a Predicate that never accepts, e.g. in default branches.
Example (Matching no values)
import { Predicate } from "effect"
console.log(Predicate.isNever("anything"))
See
isUnknownSignature
declare const isNever: (_: unknown) => _ is never
Since v2.0.0