Class: T::Utils::Nilable::TypeInfo
- Inherits:
-
Struct
- Object
- Struct
- T::Utils::Nilable::TypeInfo
- Defined in:
- lib/types/utils.rb
Overview
:is_union_type, T::Boolean: whether the type is an T::Types::Union type :non_nilable_type, Class: if it is an T.nilable type, the corresponding underlying type; otherwise, nil.
Instance Attribute Summary collapse
-
#is_union_type ⇒ Object
Returns the value of attribute is_union_type.
-
#non_nilable_type ⇒ Object
Returns the value of attribute non_nilable_type.
Instance Attribute Details
#is_union_type ⇒ Object
Returns the value of attribute is_union_type
171 172 173 |
# File 'lib/types/utils.rb', line 171 def is_union_type @is_union_type end |
#non_nilable_type ⇒ Object
Returns the value of attribute non_nilable_type
171 172 173 |
# File 'lib/types/utils.rb', line 171 def non_nilable_type @non_nilable_type end |