> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/callables/callables.with_name_prefixes.md).

# Callables.with\_name\_prefixes()

`with_name_prefixes(`*`prefixes: List[str]`*`,`` `*`sensitivity: bool = True`*`) →` [`Callables`](/glider-ide/api/callables.md)

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

To filter given a single prefix, refer to [Callables.with\_name\_prefix()](/glider-ide/api/callables/callables.with_name_prefix.md).

### 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="/files/4O91wIE2NRfM9Ea628LJ" 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="/files/8I57UOnSm0NAKcrARkRo" alt=""><figcaption></figcaption></figure>
