MCPcopy Index your code
hub / github.com/simstudioai/sim / areGroupDepsSatisfied

Function areGroupDepsSatisfied

apps/sim/lib/table/deps.ts:84–90  ·  view source on GitHub ↗
(group: WorkflowGroup, row: TableRow)

Source from the content-addressed store, hash-verified

82 * is uniform.
83 */
84export function areGroupDepsSatisfied(group: WorkflowGroup, row: TableRow): boolean {
85 const cols = group.dependencies?.columns ?? []
86 for (const colName of cols) {
87 if (isDepValueUnmet(row.data[colName])) return false
88 }
89 return true
90}
91
92export interface UnmetDeps {
93 /** Column names whose value on this row is empty. */

Callers 6

deps.test.tsFile · 0.90
classifyEligibilityFunction · 0.90
resolveCellExecFunction · 0.90
useRunColumnFunction · 0.90

Calls 1

isDepValueUnmetFunction · 0.85

Tested by

no test coverage detected