class T::Props::Decorator

def smart_coerce(type, array:, enum:)

def smart_coerce(type, array:, enum:)
wards compatibility for pre-T::Types style
ray.nil? && !enum.nil?
e ArgumentError.new("Cannot specify both :array and :enum options")
!array.nil?
ype == Set
:Set[array]

:Array[array]
!enum.nil?
::Utils.unwrap_nilable(type)
nilable(T.enum(enum))

enum(enum)
tils.coerce(type)