Indicates whether the term has Boolean sort. @throws Z3Exception on error @return a boolean
()
| 312 | * @return a boolean |
| 313 | **/ |
| 314 | public boolean isBool() |
| 315 | { |
| 316 | return (isExpr() && Native.isEqSort(getContext().nCtx(), |
| 317 | Native.mkBoolSort(getContext().nCtx()), |
| 318 | Native.getSort(getContext().nCtx(), getNativeObject()))); |
| 319 | } |
| 320 | |
| 321 | /** |
| 322 | * Indicates whether the term is the constant true. |
nothing calls this directly
no test coverage detected