Function is_valid

Synopsis

#include <include/flecs/addons/cpp/utils/enum.hpp>

bool is_valid(int value)

Description

No description yet.

Source

Lines 218-220 in include/flecs/addons/cpp/utils/enum.hpp.

bool is_valid(int value) {
    return impl_.constants[value].id != 0;
}