Function empty

Synopsis

#include <src/entt/entity/group.hpp>

bool empty() const noexcept

Description

Checks whether a group is empty.

Return
True if the group is empty, false otherwise.

Source

Lines 655-657 in src/entt/entity/group.hpp.

[[nodiscard]] bool empty() const ENTT_NOEXCEPT {
    return !*length;
}





Add Discussion

Log in to comment