Functions.without_modifier_name()

without_modifier_name(name: str, sensitivity: bool = True) → Functions

Adds a filter to get functions that either have no modifier with the given name or have no modifier at all.

Example

from glider import *

def query():
  
  # Fetch a list of functions without onlyOwner modifier
  functions = Functions().without_modifier_name('onlyOwner').exec(3)

  return functions

Output

Last updated