Instruction.is_if_loop()
Returns true if the instruction is if_loop instruction, otherwise returns false.
is_if_loop()
-> bool
Query Example
from glider import *
def query():
return Instructions().exec(1000).filter(lambda x: x.is_if_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