Class: Taipu::Array

Inherits:
Base
  • Object
show all
Defined in:
lib/taipu/array.rb

Overview

The type number.

Instance Method Summary collapse

Methods inherited from Base

#constraints, #to_h, #to_sym

Instance Method Details

#valid?(value) ⇒ Boolean

Returns:



7
8
9
# File 'lib/taipu/array.rb', line 7

def valid?(value)
  value.is_a?(::Array)
end