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

# Callables.with\_name\_suffixes()

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

Adds a filter to get callables whose names have suffixes from the given list of suffixes. 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\_suffix()](/glider-ide/api/callables/callables.with_name_suffix.md).

### Functions Example

```python
from glider import *

def query():
  # Retrieve the functions that have `Flashloan` or `cast` as suffix
  functions = Functions().with_name_suffixes(["Flashloan", "cast"]).exec(100)

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

Output:

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FHJJtFMLstIboZGeAoj6Y%2Fimage.png?alt=media&amp;token=4cce278b-c484-430d-b58e-1015d48875d0" alt=""><figcaption></figcaption></figure>

### Modifiers Example

```python
from glider import *

def query():
  # Retrieve the modifiers that have `Initialized` or `Open` as suffix
  modifiers = Modifiers().with_name_suffixes(["Initialized", "Open"]).exec(100)

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

Output:

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2Foa1nnRVbVjCXE4Nn7NHQ%2Fimage.png?alt=media&amp;token=9b4079e4-5a43-4c28-bbda-1d8f51899616" alt=""><figcaption></figcaption></figure>
