MCPcopy Create free account
hub / github.com/BaseXdb/basex / is

Method is

basex-core/src/main/java/org/basex/query/func/AFunction.java:35–35  ·  view source on GitHub ↗

Checks if the specified expression is an instance of this function. @param ex expression @return result of check

(final Expr ex)

Source from the content-addressed store, hash-verified

33 * @return result of check
34 */
35 default boolean is(final Expr ex) {
36 return ex instanceof final StandardFunc sf && sf.definition == definition();
37 }
38

Callers 15

bestConsumeMethod · 0.65
isMethod · 0.65
ftMatchOptionMethod · 0.65
optimizeMethod · 0.65
evalMethod · 0.65
optimizeMethod · 0.65
mergeMethod · 0.65
optimizeMethod · 0.65
simplifyForMethod · 0.65
optimizeMethod · 0.65
optMethod · 0.65
swapMethod · 0.65

Implementers 2

ApiFunctionbasex-api/src/main/java/org/basex/quer
Functionbasex-core/src/main/java/org/basex/que

Calls

no outgoing calls

Tested by 1

isMethod · 0.52