Package: effect
Module: Filter
Creates a Filter that passes only values strictly equal to the specified
value using JavaScript === comparison.
When to use
Use when you need a Filter that accepts only the exact primitive value or
object reference using JavaScript strict equality in a Filter / Result
pipeline.
Gotchas
NaN never passes, even when the expected value is NaN, and objects pass
only when they are the same reference.
See
equals for structural equality when distinct values with equal
contents should passSignature
declare const equalsStrict: <const A, Input = unknown>(value: A) => Filter<Input, A, EqualsWith<Input, A, A, Exclude<Input, A>>>
Since v4.0.0