Function bevy::prelude::resource_exists

pub fn resource_exists<T>() -> impl FnMut(Option<Res<'_, T>>)where
    T: Resource,
Expand description

Generates a Condition-satisfying closure that returns true if the resource exists.