Skip to content
Home
Post Code
Jass (Warcraft III)
Wurst
GUI (Warcraft III)
Galaxy (StarCraft II)
GUI (StarCraft II)
C++
Java
Delphi
Text
Search Code
Compare Code
Uploads
Draw
Create New Drawing
View Drawings
Graph
Log in
<pre class="jasscode">GroupEnumUnitsOfPlayer(ENUM_GROUP<span class="style_symbol">,</span> STAFF_PLAYER<span class="style_symbol">,</span> Filter(() <span class="style_symbol">-</span>> GetFilterUnit()<span class="style_symbol">.</span>getTypeId() <span class="style_symbol">=</span><span class="style_symbol">=</span> <span class="style_string">'n007'</span>)) <span class="style_symbol">=</span><span class="style_symbol">=</span> <span class="style_keyword">function</span> filterThis() returns <span class="style_type">boolean</span> return GetFilterUnit()<span class="style_symbol">.</span>getTypeId() <span class="style_symbol">=</span><span class="style_symbol">=</span> <span class="style_string">'n007'</span> GroupEnumUnitsOfPlayer(ENUM_GROUP<span class="style_symbol">,</span> STAFF_PLAYER<span class="style_symbol">,</span> Filter(<span class="style_keyword">function</span> filterThis)) </pre>
select language
jass
java
> delphi
C++
php
GSL
galaxy
visualBasic
wurst
Text
Markdown
select style
default
bbcode - default
Jasscraft
> jasscraft html
visual
lightweight
lightweightNr
goto line:
Compare with:
text copy window
edit this code
post new code
GroupEnumUnitsOfPlayer(ENUM_GROUP, STAFF_PLAYER, Filter(() -> GetFilterUnit().getTypeId() == 'n007')) == function filterThis() returns boolean return GetFilterUnit().getTypeId() == 'n007' GroupEnumUnitsOfPlayer(ENUM_GROUP, STAFF_PLAYER, Filter(function filterThis))