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

Function lt

daily/ydyp.js:3042–3059  ·  view source on GitHub ↗
(e, t)

Source from the content-addressed store, hash-verified

3040}
3041
3042function lt(e, t) {
3043 ! function() {
3044 if (ht) return;
3045 if (ht = !0, "undefined" == typeof process || !process.versions?.node || "function" != typeof process.loadEnvFile) return;
3046 try {
3047 process.loadEnvFile(".env")
3048 } catch (e) {}
3049 }();
3050 const r = "undefined" != typeof process && process.env ? process.env : {};
3051 for (const t of e) {
3052 if (void 0 !== r[t] && null !== r[t] && "" !== r[t]) return r[t];
3053 try {
3054 const e = s.getItem?.(t);
3055 if (null != e && "" !== e) return e
3056 } catch (e) {}
3057 }
3058 return t
3059}
3060let ht = !1;
3061
3062function dt() {

Callers 1

ctFunction · 0.85

Calls 1

getItemMethod · 0.80

Tested by

no test coverage detected