aboutsummaryrefslogtreecommitdiff
path: root/model.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'model.cpp')
-rw-r--r--model.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/model.cpp b/model.cpp
index bbb4d75..7434690 100644
--- a/model.cpp
+++ b/model.cpp
@@ -51,6 +51,10 @@ bool EvalObj::is_bool_obj() {
return otype & CLS_BOOL_OBJ;
}
+bool EvalObj::is_str_obj() {
+ return otype & CLS_STR_OBJ;
+}
+
int EvalObj::get_otype() {
return otype;
}