Filter: Difference between revisions
Content added Content deleted
imported>Arakov |
imported>Arakov |
||
Line 1,581: | Line 1,581: | ||
array |
array |
||
.filterBy:(int n => n.mod |
.filterBy::(int n => n.mod(2) == 0) |
||
.forEach:(int i){ console.printLine(i) } |
.forEach::(int i){ console.printLine(i) } |
||
}</syntaxhighlight> |
}</syntaxhighlight> |
||
{{out}} |
{{out}} |