MakeExistsOne expands the input call arguments into a comprehension that returns true if exactly one of the elements in the range match the predicate expressions: .exists_one( , )
(eh ExprHelper, target ast.Expr, args []ast.Expr)
| 481 | // one of the elements in the range match the predicate expressions: |
| 482 | // <iterRange>.exists_one(<iterVar>, <predicate>) |
| 483 | func MakeExistsOne(eh ExprHelper, target ast.Expr, args []ast.Expr) (ast.Expr, *common.Error) { |
| 484 | return makeQuantifier(quantifierExistsOne, eh, target, args) |
| 485 | } |
| 486 | |
| 487 | // MakeMap expands the input call arguments into a comprehension that transforms each element in the |
| 488 | // input to produce an output list. |
no test coverage detected