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

Function firstValue

wxapp/nestle.js:83–88  ·  view source on GitHub ↗
(...values)

Source from the content-addressed store, hash-verified

81}
82
83function firstValue(...values) {
84 for (const value of values) {
85 if (value !== undefined && value !== null && value !== "") return value;
86 }
87 return "";
88}
89
90async function request(options) {
91 const res = await axios.request({

Callers 4

queryUserMethod · 0.70
queryPointsMethod · 0.70
querySignMethod · 0.70
signMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected