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

Function getBooleanValue

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

Source from the content-addressed store, hash-verified

1043 const isBooleanValue = isBooleanFactor(factor);
1044
1045 const getBooleanValue = (): boolean =>
1046 typeof expr.args[1] === "boolean" ? (expr.args[1] as boolean) : true;
1047 const setBooleanValue = (v: boolean) => {
1048 doUpdate((group) => {
1049 const cond = group.args[operandIndex] as ConditionExpr;

Callers 1

ValueInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected