Method: Dry::Schema::Macros::Value#array_type?

Defined in:
lib/dry/schema/macros/value.rb

#array_type?(type) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



74
75
76
# File 'lib/dry/schema/macros/value.rb', line 74

def array_type?(type)
  primitive_inferrer[type].eql?([::Array])
end