class Ven::Suite::MType
- Ven::Suite::MType
- Ven::Suite::MClass
- Reference
- Object
Overview
Ven's type data type. It represents other Ven data types.
Defined in:
ven/suite/model.crConstant Summary
-
ANY =
MType.new("any", MAny)
-
Pre-defined 'any' data type.
Constructors
Instance Method Summary
-
#==(other : MType)
Returns whether this type is equal to the other type.
- #name : String
- #to_s(io)
- #type : MStruct.class | MClass.class
Instance methods inherited from class Ven::Suite::MClass
callable? : Bool
callable?,
eqv?(other : Model) : Bool
eqv?,
field(name : String) : Model | Nil
field,
is_bool_false? : Bool
is_bool_false?,
of?(other : MType) : Boolof?(other) of?, to_bool(inverse = false) : MBool to_bool, to_num : Num to_num, to_str : Str to_str, to_vec : Vec to_vec, true? : Bool true?, truth=(truth : Bool) truth=, truth? truth?