Callable.try_instructions()

Returns try instructions of the function/modifier.

try_instructions() → Instructions

Query Example

from glider import *


def query():
  functions = Functions().with_name("processFee").exec(1)

  try_instructions = []
  for function in functions:
    for instruction in function.try_instructions().exec():
      # Return the try instructions for each function
      try_instructions.append(instruction)

  return try_instructions

Example Output

Last updated