Method: Dry::Types::Intersection#call_safe

Defined in:
lib/dry/types/intersection.rb

#call_safe(input) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • input (Object)

Returns:

  • (Object)


31
# File 'lib/dry/types/intersection.rb', line 31

def call_safe(input, &) = try_sides(input, &).input