Function.modifiers()

Returns the Modifiers object for the modifiers of the function.

modifiers() → Modifiers

Returns the Modifiers object for the modifiers of the function.

Example

from glider import *

def query():
  # Fetch a list of functions
  functions = Functions().with_one_property([MethodProp.HAS_MODIFIERS]).exec(1)

  # Retrieve the modifiers of the first function
  modifers = functions[0].modifiers().exec()

  return modifers

Output

Last updated