MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / stringify_variants

Function stringify_variants

core/string/print_string.cpp:352–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

350}
351
352String stringify_variants(const Span<Variant> &p_vars) {
353 if (p_vars.is_empty()) {
354 return String();
355 }
356 String result = String(p_vars[0]);
357 for (const Variant &v : Span(p_vars.ptr() + 1, p_vars.size() - 1)) {
358 result += ' ';
359 result += v.operator String();
360 }
361 return result;
362}

Callers 2

print_lineFunction · 0.85
print_line_richFunction · 0.85

Calls 6

StringClass · 0.70
sizeMethod · 0.65
SpanClass · 0.50
is_emptyMethod · 0.45
ptrMethod · 0.45
StringMethod · 0.45

Tested by

no test coverage detected