sasoptpy.VariableGroup.get_type

VariableGroup.get_type(self)[source]

Returns the type of variable

Possible values are:

  • sasoptpy.CONT

  • sasoptpy.INT

  • sasoptpy.BIN

Examples

>>> z = so.VariableGroup(3, name='z', vartype=so.INT)
>>> z.get_type()
'INT'