Instruction.is_end_loop()

Returns true if the instruction is end_loop instruction, otherwise returns false.

is_end_loop() -> bool

Query Example

from glider import *

def query():
  return Instructions().exec(1000).filter(lambda x: x.is_end_loop())

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