MCPcopy Create free account
hub / github.com/Z3Prover/z3 / isTrue

Method isTrue

src/api/java/Expr.java:326–329  ·  view source on GitHub ↗

Indicates whether the term is the constant true. @throws Z3Exception on error @return a boolean

()

Source from the content-addressed store, hash-verified

324 * @return a boolean
325 **/
326 public boolean isTrue()
327 {
328 return isApp() && getFuncDecl().getDeclKind() == Z3_decl_kind.Z3_OP_TRUE;
329 }
330
331 /**
332 * Indicates whether the term is the constant false.

Callers

nothing calls this directly

Calls 3

getFuncDeclMethod · 0.95
getDeclKindMethod · 0.80
isAppMethod · 0.65

Tested by

no test coverage detected