We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f2cfbf commit 47eae7eCopy full SHA for 47eae7e
docs/Language-Definition.md
@@ -110,6 +110,12 @@
110
<code>[:]</code>
111
</td>
112
</tr>
113
+ <tr>
114
+ <td>Pipe</td>
115
+ <td>
116
+ <code>|</code>
117
+ </td>
118
+ </tr>
119
</table>
120
121
Examples:
@@ -168,6 +174,17 @@ array[3:] == [4, 5]
168
174
array[:] == array
169
175
```
170
176
177
+### Pipe Operator
178
+
179
+The pipe operator `|` can be used to pass the result of the left-hand side
180
+expression as the first argument of the right-hand side expression.
181
182
+For example, expression `split(lower(user.Name), " ")` can be written as:
183
184
+```expr
185
+user.Name | lower() | split(" ")
186
+```
187
171
188
## Built-in Functions
172
189
173
190
### all(array, predicate)
0 commit comments