> 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/modifiers/modifiers.with_properties.md).

# Modifiers.with\_properties()

Filter modifiers satisfying the given expression

`with_properties(expr) ->`` ``Modifiers`

E.g: `expr = FunctionFilters.HAS_ARGS & ~FunctionFilters.HAS_ERRORS` `with_properties(expr)` will return modifiers that have arguments and don't return errors.

### Query Example

```python
from glider import *

def query():
    return (
        Modifiers()
        .with_properties(FunctionFilters.HAS_GLOBAL_VARIABLES_READ | FunctionFilters.HAS_ERRORS)
        .exec(10)
    )

```

### Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FbptJ1xiruovC8JUrC7A2%2FScreenshot%202025-10-09%20at%2012.55.54%E2%80%AFPM.png?alt=media&amp;token=2ef6c676-7327-4e89-8fc8-9686cacd180d" alt=""><figcaption></figcaption></figure>
