Instruction.is_try()
Returns True if the instruction is Try instruction in a try-catch block, otherwise returns False.
is_try()
-> bool
Query Example
from glider import *
def query():
return Instructions().exec(2000).filter(lambda x: x.is_try())
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