© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Issue with `Predicate.isNumber(Number.NaN)` Returning `true` Instead of `false` - Effect Community
EC
Effect Community
•
7mo ago
Alexey Chebotarev
Issue with `Predicate.isNumber(Number.NaN)` Returning `true` Instead of `false`
Hello guys
, right now my effect for
Predicate.isNumber(Number.NaN)
Predicate.isNumber(Number.NaN)
returns me
true
true
, while in doc it
's says
:
"A refinement that checks if a value is a
number
number
. Note that this check returns
false
false
for
NaN
NaN
.
"
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Issue with Batched Resolvers Executing Sequentially Instead of Concurrently
EC
Effect Community / 🚀-effect
10mo ago
Unexpected behavior of `fiberRefGetAndUpdate` returning old value instead of updated value
EC
Effect Community / 🚀-effect
3y ago
Understanding `Predicate.implies`: Ensuring Conditional Predicate Logic
EC
Effect Community / 🚀-effect
2y ago
Effect.repeat with a Schedule returns a number instead of the original value
EC
Effect Community / 🚀-effect
12mo ago