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<span class="style_symbol">(</span>ENUM_GROUP, STAFF_PLAYER, Filter<span class="style_symbol">(</span><span class="style_symbol">(</span><span class="style_symbol">)</span> -> GetFilterUnit<span class="style_symbol">(</span><span class="style_symbol">)</span>.getTypeId<span class="style_symbol">(</span><span class="style_symbol">)</span> == 'n007'<span class="style_symbol">)</span><span class="style_symbol">)</span> == function filterThis<span class="style_symbol">(</span><span class="style_symbol">)</span> returns boolean <span class="style_keyword">return</span> GetFilterUnit<span class="style_symbol">(</span><span class="style_symbol">)</span>.getTypeId<span class="style_symbol">(</span><span class="style_symbol">)</span> == 'n007' GroupEnumUnitsOfPlayer<span class="style_symbol">(</span>ENUM_GROUP, STAFF_PLAYER, Filter<span class="style_symbol">(</span>function filterThis<span class="style_symbol">)</span><span class="style_symbol">)</span> </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))