MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / opt

Method opt

source/core/StarJson.cpp:264–268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264Maybe<Json> Json::opt() const {
265 if (isNull())
266 return {};
267 return *this;
268}
269
270Maybe<double> Json::optDouble() const {
271 if (isNull())

Callers 15

tabSetHandlerMethod · 0.45
renderReloadMethod · 0.45
displayedMethod · 0.45
upgradeTableMethod · 0.45
updateMethod · 0.45
ContainerPaneMethod · 0.45
loadJsonMethod · 0.45
loadMethod · 0.45
ChatMethod · 0.45
addChatActionsMethod · 0.45
applyTestOperationFunction · 0.45
StarText.cppFile · 0.45

Calls 1

ptrFunction · 0.85

Tested by

no test coverage detected