# Callables.with\_name\_suffixes()

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

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

### 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&#x26;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&#x26;token=9b4079e4-5a43-4c28-bbda-1d8f51899616" alt=""><figcaption></figcaption></figure>
