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

Method isForEachLoop

apps/sim/executor/variables/resolvers/loop.ts:278–282  ·  view source on GitHub ↗
(loopId: string)

Source from the content-addressed store, hash-verified

276 }
277
278 private isForEachLoop(loopId: string): boolean {
279 const originalId = stripOuterBranchSuffix(loopId)
280 const loopConfig = this.workflow.loops?.[originalId]
281 return loopConfig?.loopType === 'forEach'
282 }
283
284 private getAvailableFields(
285 targetLoopId: string | undefined,

Callers 1

getAvailableFieldsMethod · 0.95

Calls 1

stripOuterBranchSuffixFunction · 0.90

Tested by

no test coverage detected