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

Function getNumberValue

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

Source from the content-addressed store, hash-verified

1058 return "";
1059 };
1060 const getNumberValue = () =>
1061 typeof expr.args[1] === "number" ? expr.args[1] : 0;
1062 const getArrayValue = (): string[] => {
1063 if (!Array.isArray(expr.args[1])) return [];
1064 return (expr.args[1] as unknown[]).map(String);

Callers 1

ValueInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected