abstract struct Number

Overview

The top-level number type.

Included Modules

Defined in:

amber/extensions/core.cr

Instance methods inherited from module Amber::Extensions::Number

above?(n) above?, below?(n) below?, between?(range) between?, div?(n) div?, gteq?(num) gteq?, lt?(num) lt?, lteq?(num) lteq?, negative? negative?, positive? positive?, self?(num) self?, zero? zero?