module T::Private
def self.check_type_recursive!(value, type)
in some cases this runtime check can be very expensive, especially
type `type`, including recursively through collections. Note that
Dynamically confirm that `value` is recursively a valid value of
def self.check_type_recursive!(value, type) T::Private::Casts.cast_recursive(value, type, cast_method: "T.check_type_recursive!") end