diff options
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 5456f3285..cd7a1f839 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -468,6 +468,10 @@ public: return getMetaKind() == kind::metakind::NULLARY_OPERATOR; } + /** + * Returns true if this node represents a closure, that is an expression + * that binds variables. + */ inline bool isClosure() const { assertTNodeNotExpired(); return getKind() == kind::LAMBDA || getKind() == kind::FORALL |