mirror of
https://github.com/hanzoai/expr.git
synced 2026-09-24 16:58:58 +00:00
Add env info
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user