diff --git a/furvm/include/furvm/thing.hpp b/furvm/include/furvm/thing.hpp index 16dfb98..62cecea 100644 --- a/furvm/include/furvm/thing.hpp +++ b/furvm/include/furvm/thing.hpp @@ -94,6 +94,13 @@ public: } return std::move(res); } +public: + /** + * @brief Returns the thing's type. + * + * @return The type. + */ + constexpr auto type() const { return m_type; } public: /** * @brief Returns the thing's int32 value.