class Dry::Schema::Path

def key_matches(other)

Other tags:
    Api: - private
def key_matches(other)
  map { |key| (idx = other.index(key)) && keys[idx].equal?(key) }
end