> 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_prefix.md).

# Callables.with\_name\_prefix()

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

Adds a filter to get callables whose names have the given prefix. 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 list of prefixes, refer to [Callables.with\_name\_prefixes()](/glider-ide/api/callables/callables.with_name_prefixes.md).

### Functions Example

```python
from glider import *

def query():
  # Retrieve the functions that have `min` as prefix
  functions = Functions().with_name_prefix("min").exec(100)

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

Output:

<figure><img src="/files/OAAbzt2TufkiSBDxKYp1" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the modifiers that have `only` as prefix
  modifiers = Modifiers().with_name_prefix("only").exec(100)

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

Output:

<figure><img src="/files/azUyXoG9FabHfXrYvJx0" alt=""><figcaption></figcaption></figure>
