Callable.if_loop_instructions()
Returns if_loop instructions of the function/modifier.
Example
from glider import *
def query():
functions = Functions().without_modifier_names(["onlyOwner"]).exec(100)
if_loop_instructions = []
for function in functions:
# For each function without an "onlyOwner" modifier, return the if loop instructions
for instruction in function.if_loop_instructions().exec():
if_loop_instructions.append(instruction)
return if_loop_instructionsExample output

Last updated