feat(furvm): add type function to thing
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user