Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anjo76/angelscript
/ AddStringBool
Function
AddStringBool
sdk/add_on/scriptstdstring/scriptstdstring.cpp:327–332 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
325
}
326
327
static string AddStringBool(const string &str, bool b)
328
{
329
ostringstream stream;
330
stream << (b ?
"true"
:
"false"
);
331
return str + stream.str();
332
}
333
334
static string AddBoolString(bool b, const string &str)
335
{
Callers
nothing calls this directly
Calls
1
str
Method · 0.80
Tested by
no test coverage detected