> 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FMckzWvYtxU3a6jBR3FVV%2Fimage.png?alt=media&amp;token=19ca8595-a960-41cf-a644-e6ec5cb10cd1" 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="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FpJdt5F76cXwIajN4pogq%2Fimage.png?alt=media&amp;token=1cbda54a-d5f6-4b5e-b9c2-9b2e509170d1" alt=""><figcaption></figcaption></figure>
