Function is_readonly

Synopsis

#include <include/flecs/addons/cpp/world.hpp>

bool is_readonly() const

Description

Test whether the current world object is readonly. This function allows the code to test whether the currently used world object is readonly or whether it allows for writing.

Returns
True if the world or stage is readonly.

Source

Lines 426-428 in include/flecs/addons/cpp/world.hpp.

bool is_readonly() const {
    return ecs_stage_is_readonly(m_world);
}