VarValue.type

Returns the variable's type.

property type: Type

Query Example

from glider import *


def query():
  instructions = Instructions().exec(1, 2)

  for instruction in instructions:
    components = instruction.get_components()
    for component in components:
      if isinstance(component, VarValue):
        var_value_type = component.type 
        print(var_value_type)

  return instructions

Output Example

Last updated