MCPcopy Create free account
hub / github.com/bytebase/bytebase / getStringValue

Function getStringValue

frontend/src/react/components/ExprEditor.tsx:1054–1059  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1052 };
1053
1054 const getStringValue = () => {
1055 const v = expr.args[1];
1056 if (typeof v === "string") return v;
1057 if (typeof v === "number") return String(v);
1058 return "";
1059 };
1060 const getNumberValue = () =>
1061 typeof expr.args[1] === "number" ? expr.args[1] : 0;
1062 const getArrayValue = (): string[] => {

Callers 1

ValueInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected