Function operator bool
Synopsis
#include <src/entt/meta/meta.hpp>
explicit operator bool() const noexcept
Description
Returns true if a meta object is valid, false otherwise.
- Returns
- True if the meta object is valid, false otherwise.
Source
Lines 697-699 in src/entt/meta/meta.hpp.
[[nodiscard]] explicit operator bool() const ENTT_NOEXCEPT {
return !(node == nullptr);
}