Functions.with_modifier_name_regex()

with_modifier_name_regex(regex: str) → Functions

Adds a filter to get functions, that have modifier whose name matches the given regex.

Example

from glider import *

def query():
  
  # Fetch a list of functions with modifiers starting with 'only'
  functions = Functions().with_modifier_name_regex('^only.*').exec(3)

  return functions

Output

Last updated