MCPcopy Create free account
hub / github.com/alignoth/alignoth / A

Function A

resources/vega-lite.min.js:154–164  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

152 return e.charAt(0).toUpperCase() + e.substr(1);
153 }
154 function A(e) {
155 let n =
156 arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "datum";
157 const i = t.splitAccessPath(e),
158 r = [];
159 for (let e = 1; e <= i.length; e++) {
160 const o = `[${i.slice(0, e).map(t.stringValue).join("][")}]`;
161 r.push(`${n}${o}`);
162 }
163 return r.join(" && ");
164 }
165 function T(e) {
166 return `${arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "datum"}[${t.stringValue(t.splitAccessPath(e).join("."))}]`;
167 }

Callers 3

UiFunction · 0.70
lsFunction · 0.70
assembleTransformsMethod · 0.70

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected