Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/covscript/covscript
/ to_string
Function
to_string
sources/covscript.cpp:365–371 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
363
}
364
365
var to_string(const var &val)
366
{
367
if (val.is_type_of<string>())
368
return val;
369
else
370
return val.to_string().extract();
371
}
372
373
string type(const var &a)
374
{
Callers
7
prepend_import_path
Function · 0.70
range
Function · 0.70
call_rr
Method · 0.50
call_rl
Method · 0.50
call_el
Method · 0.50
local_time
Function · 0.50
utc_time
Function · 0.50
Calls
2
extract
Method · 0.80
to_string
Method · 0.45
Tested by
no test coverage detected