MCPcopy Index your code
hub / github.com/apache/groovy / any

Method any

src/main/java/org/codehaus/groovy/ast/query/AstQuery.java:243–245  ·  view source on GitHub ↗

@return true if at least one node matches; stops at the first match

()

Source from the content-addressed store, hash-verified

241 * @return {@code true} if at least one node matches; stops at the first match
242 */
243 public boolean any() {
244 return !run(true).isEmpty();
245 }
246
247 /**
248 * @return {@code true} if no node matches; stops at the first match

Callers

nothing calls this directly

Calls 2

runMethod · 0.95
isEmptyMethod · 0.45

Tested by

no test coverage detected