class Dry::Schema::KeyValidator

def hashes_or_arrays(xs)

Other tags:
    Api: - private
def hashes_or_arrays(xs)
  xs.select { |x|
    (x.is_a?(::Array) || x.is_a?(::Hash)) && !x.empty?
  }
end