Skip to main content

use_is_active

Function use_is_active 

Source
pub fn use_is_active() -> bool
Expand description

Returns whether the closest ancestor ActivableContext provider is active.

Falls back to false when no provider is found in the tree.