This repository has been archived by the owner on Mar 6, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crystal doesn't have implicit conversion to bool based on the numerical value of the integer. This means that even 0 evaluates to true. This changes the check to be explicit.
- Loading branch information