Modifier.functions()

functions() → Functions

Returns the Functions object for the functions which have the modifier.

An example to retrieve the functions object for the modifier is as below

from glider import *
def query():
  modifierlist = Modifiers()\
      .with_name_prefix("check")\
      .exec(1)
  
  results =  []

  for modd in modifierlist:
    for funcs in modd.functions().exec():
      results.append(funcs)

  return results

Output

Last updated