Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ optFloat
Method
optFloat
source/core/StarJson.cpp:276–280 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
274
}
275
276
Maybe<float> Json::optFloat() const {
277
if (isNull())
278
return {};
279
return toFloat();
280
}
281
282
Maybe<bool> Json::optBool() const {
283
if (isNull())
Callers
15
Drawable
Method · 0.80
resource
Method · 0.80
resourceMax
Method · 0.80
stat
Method · 0.80
readTenant
Method · 0.80
readJson
Method · 0.80
ActorJumpProfile
Method · 0.80
ActorMovementParameters
Method · 0.80
systemObjectConfig
Method · 0.80
objectWarpAction
Method · 0.80
setup
Method · 0.80
MovementParameters
Method · 0.80
Calls
2
ptr
Function · 0.85
toFloat
Method · 0.80
Tested by
no test coverage detected