module Dry::Types::Type

def call(input = Undefined, &)

Other tags:
    Api: - public

Returns:
  • (Object) -
  • (Object) -

Other tags:
    Yieldparam: output - Partially coerced value

Parameters:
  • input (Object) --
  • input (Object) --

Overloads:
  • call(input = Undefined)
  • call(input = Undefined)
def call(input = Undefined, &)
  if block_given?
    call_safe(input, &)
  else
    call_unsafe(input)
  end
end