MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / IsFloat

Method IsFloat

Source/Scripting/scriptparams.h:97–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95
96 bool IsString() const { return type_ == STRING; }
97 bool IsFloat() const { return type_ == FLOAT; }
98 bool IsInt() const { return type_ == INT; }
99 bool IsJSON() const { return type_ == JSON; }
100 friend std::ostream &operator<<(std::ostream &os, const ScriptParam &data);

Callers 3

DrawScriptParamsEditorFunction · 0.80
IsParamFloatMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected