Functions.with_one_of_the_modifier_names()

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

Adds a filter to get functions that have a modifier with one of the given names.

Example

from glider import *

def query():
  
  # Fetch a list of functions with modifiers from the given list
  functions = Functions().with_one_of_the_modifier_names(['onlyAdmin','onlyOwner']).exec(5)

  return functions

Output

Last updated