module Dry::Types::Type
def call(input = Undefined, &)
- 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
def valid?(input = Undefined)
- Api: - private
Returns:
-
(Boolean)
-
def valid?(input = Undefined) call_safe(input) { return false } true end