lib/rails/graphql/field/input_field.rb
def valid_input_array?(value, deep)
          return false unless value.is_a?(Array)

          value.all? do |val|
            (val.nil? && nullable?) || (leaf_type? || !deep) ||
              type_klass.valid_input?(val)
          end
        end
# Check if the given +value+ is a valid array as input
Check if the given +value+ is a valid array as input
Check if the given + value + is a valid array as input
def valid_input_array?(value, deep)
          return false unless value.is_a?(Array)
          value.all? do |val|
            (val.nil? && nullable?) || (leaf_type? || !deep) ||
              type_klass.valid_input?(val)
          end
        end
def valid_input_array? ( value , deep ) return false unless value . is_a? ( Array ) value . all? do | val | ( val . nil? && nullable? ) || ( leaf_type? || ! deep ) || type_klass . valid_input? ( val ) end end
Check if the given +value+ is a valid array as input
Check if the given + value + is a valid array as input
value
deep