class Dry::Schema::Macros::DSL

def array(*args, &block)

Other tags:
    Api: - public

Returns:
  • (Macros::Core) -

Other tags:
    Example: a list of hashes -
    Example: a list of strings -
def array(*args, &block)
  append_macro(Macros::Array) do |macro|
    macro.value(*args, &block)
  end
end