MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / landStatus

Function landStatus

wxapp/junpinhui.js:157–160  ·  view source on GitHub ↗
(item = {})

Source from the content-addressed store, hash-verified

155}
156
157function landStatus(item = {}) {
158 const value = Number(item.status ?? -1);
159 return Number.isFinite(value) ? value : -1;
160}
161
162function isPlantable(item = {}) {
163 return pickId(item) && landStatus(item) === 0;

Callers 3

isPlantableFunction · 0.85
isGrowingFunction · 0.85
isHarvestableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected