abstract struct Number
Overview
The top-level number type.
Included Modules
- Comparable(Number)
- Steppable
Defined in:
ifrit/core.crInstance Method Summary
-
#to_bool
Converts to boolean based on value (
1
-true
,0
-false
,ArgumentError
otherwise).