Skip to content

Commit

Permalink
Add env info
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv committed Aug 10, 2023
1 parent c83a35c commit e646a93
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/Language-Definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,3 +259,11 @@ Braces `{` `}` can be omitted:
```expr
filter(Tweets, len(.Value) > 280)
```

## `env` variable

The `env` variable is a map of all variables passed to the expression.

```expr
Foo.Name == env['Foo'].Name
```

0 comments on commit e646a93

Please sign in to comment.