MCPcopy Create free account
hub / github.com/InoriRus/Kyty / ToBool

Method ToBool

source/lib/Scripts/src/Scripts.cpp:589–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587 return static_cast<float>(m_p->val_double);
588}
589bool ScriptVar::ToBool() const
590{
591 return m_p->val_bool;
592}
593String ScriptVar::ToString() const
594{
595 return m_p->val_string;

Callers 1

LoadBoolFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected