Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DFHack/dfhack
/ hasSelection
Method
hasSelection
plugins/listcolumn.h:322–332 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
320
}
321
322
bool hasSelection()
323
{
324
for (auto item : list)
325
{
326
if (item.selected)
327
{
328
return true;
329
}
330
}
331
return false;
332
}
333
334
void clearSelection()
335
{
Callers
1
feed
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected