mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 11:03:06 +00:00
19db1e402b
## Problem - The `Query` struct does not provide an easy way to check if it is empty. - Specifically, users have to use `.iter().peekable()` or `.iter().next().is_none()` which is not very ergonomic. - Fixes: #2270 ## Solution - Implement an `is_empty` function for queries to more easily check if the query is empty. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |