abstract struct Number

Overview

The top-level number type.

Included Modules

Defined in:

grip/extensions/core.cr

Instance methods inherited from module Grip::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?