MCPcopy Create free account
hub / github.com/codemix/graph / evaluateConditionFn

Function evaluateConditionFn

packages/graph/src/Steps.ts:5393–5399  ·  view source on GitHub ↗
(
  path: TraversalPath<any, any, any>,
  condition: Condition,
  context?: QueryContext,
)

Source from the content-addressed store, hash-verified

5391
5392// Export the evaluateCondition function for use by ShortestPathStep
5393function evaluateConditionFn(
5394 path: TraversalPath<any, any, any>,
5395 condition: Condition,
5396 context?: QueryContext,
5397): boolean {
5398 return evaluateCondition(path, condition, context);
5399}
5400
5401/**
5402 * List expression for FOREACH - literal list, property access, variable reference, or function call.

Callers 1

isTargetMethod · 0.85

Calls 1

evaluateConditionFunction · 0.85

Tested by

no test coverage detected