MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / ValToString

Function ValToString

src/hx/cppia/Cppia.h:934–934  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

932inline static Float ValToFloat( const Dynamic &v ) { return v.mPtr ? v->__ToDouble() : 0.0; }
933
934inline static String ValToString( const bool &v ) { return v; }
935inline static String ValToString( const int &v ) { return String(v); }
936inline static String ValToString( const unsigned char &v ) { return String(v); }
937inline static String ValToString( const Float &v ) { return String(v); }

Callers 10

applyMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85
runStringMethod · 0.85

Calls 2

StringClass · 0.50
toStringMethod · 0.45

Tested by

no test coverage detected