Callables.without_name()

without_name(name: str, sensitivity: bool = True) → Callables

Adds a filter to get callables that don't have the specified name. Returns a filtered Callables child object. This method can be called on all Callables child classes: Functions and Modifiers.

To get the callables with a specified name, refer to Callables.with_name().

To filter given a list of undesired names, refer to Callables.without_names().

Functions Example

from glider import *

def query():
  # Retrieve all functions that are not named `distributeFunds`
  functions = Functions().without_name("distributeFunds").exec(100)

  # Return the first five functions
  return functions[:5]

Output:

Modifiers Example

from glider import *

def query():
  # Retrieve the modifiers that are not named `onlyCaller`
  modifiers = Modifiers().without_name("onlyCaller").exec(100)

  # Return the first five modifiers
  return modifiers[:5]

Output:

Last updated