Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ optBool
Method
optBool
source/core/StarJson.cpp:282–286 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
280
}
281
282
Maybe<bool> Json::optBool() const {
283
if (isNull())
284
return {};
285
return toBool();
286
}
287
288
Maybe<int64_t> Json::optInt() const {
289
if (isNull())
Callers
15
jsonToNodeOutput
Function · 0.80
StarHumanoid.cpp
File · 0.80
setWearableFromBack
Method · 0.80
Vehicle
Method · 0.80
readJson
Method · 0.80
ActorJumpProfile
Method · 0.80
ActorMovementParameters
Method · 0.80
lightingCalc
Method · 0.80
parseMission
Method · 0.80
MovementParameters
Method · 0.80
addClient
Method · 0.80
destroy
Method · 0.80
Calls
2
ptr
Function · 0.85
toBool
Method · 0.80
Tested by
no test coverage detected