# Callables.with\_name\_prefixes()

`with_name_prefixes(`_`prefixes: List[str]`_`,`` `_`sensitivity: bool = True`_`) →` [`Callables`]()

Adds a filter to get callables whose names have prefixes from the given list of prefixes. Returns a filtered [Callables]() child object. This method can be called on all [Callables]() child classes: [Functions](../functions) and [Modifiers](../modifiers).

To filter given a single prefix, refer to [Callables.with\_name\_prefix()](callables.with_name_prefix).

### Functions Example

```python
from glider import *

def query():
  # Retrieve the functions that have `min` or `max` as prefix
  functions = Functions().with_name_prefixes(["min", "max"]).exec(100)

  # Return the first five functions
  return functions[:4]
```

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FUUgH2oaa40TzMU9EcK7Y%2Fimage.png?alt=media&#x26;token=397ad798-5035-4fb0-b56b-8260d12fc69a" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the modifiers that have `before` or `after` as prefix
  modifiers = Modifiers().with_name_prefixes(["before", "after"]).exec(100)

  # Return the first five modifiers
  return modifiers[:4]
```

Output:

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FrGoPn9wKrdiUAx9DoiuK%2Fimage.png?alt=media&#x26;token=9da773ef-7c5c-4476-bc8c-a6973563435b" alt=""><figcaption></figcaption></figure>
