class Dry::Types::Lax

def try(input, &) = type.try(input, &)

Other tags:
    Api: - public

Returns:
  • (Result, Logic::Result) -

Other tags:
    Yieldreturn: -

Other tags:
    Yieldparam: failure -

Parameters:
  • block (#call, nil) --
  • input (Object) --
def try(input, &) = type.try(input, &)