Instruction.is_expression()
Returns true if the instruction is an expression instruction, otherwise returns false.
is_expression() -> bool
Query Example
from glider import *
def query():
return Instructions().exec(1000).filter(lambda x: x.is_expression())With the Glider 1.0 update, calling the exec function returns an APIList[Instruction]. You can then use Instruction functions, which are applied to each element of the APIList[Instruction]
Output Example

Last updated