Functions.with_all_modifier_names()

with_all_modifier_names(names: List[str], sensitivity: bool = True) → Functions

Adds a filter to get functions that have modifiers with all the given names.

Example

from glider import *

def query():
  functions = Functions().with_all_modifier_names(['lock', 'onlyOwner']).exec(1)

  return functions

Output

Last updated