absurd(value)
def absurd(value)
value
end
any(type_a, type_b, *types)
def any(type_a, type_b, *types)
T::Types::Union.new([type_a, type_b, *types])
end
assert_type!(value, type, checked: true)
def assert_type!(value, type, checked: true)
value
end
bind(value, type, checked: true)
def bind(value, type, checked: true)
value
end
cast(value, type, checked: true)
def cast(value, type, checked: true)
value
end
let(value, type, checked: true)
def let(value, type, checked: true)
value
end
nilable(type)
def nilable(type)
T::Types::Union.new([type, T::Utils::Nilable::NIL_TYPE])
end
unsafe(value)
def unsafe(value)
value
end