MCPcopy Create free account
hub / github.com/axe-api/axe-api / parseConditions

Method parseConditions

packages/axe-api/src/Services/QueryService.ts:362–370  ·  view source on GitHub ↗
(conditions: any)

Source from the content-addressed store, hash-verified

360 }
361
362 private parseConditions(conditions: any): NestedWhere {
363 if (!Array.isArray(conditions)) {
364 throw new Error("An array should be sent to parseConditions() method.");
365 }
366
367 return conditions.map((condition) => {
368 return this.parseCondition(condition);
369 });
370 }
371
372 private parseCondition(content: any): NestedWhere {
373 if (Array.isArray(content)) {

Callers 1

parseConditionMethod · 0.95

Calls 1

parseConditionMethod · 0.95

Tested by

no test coverage detected