zng::wrap

Function is_even

source
pub fn is_even(child: impl UiNode, state: impl IntoVar<bool>) -> impl UiNode
Expand description

P If the child index is even.

Child index is zero-based, so the first is even, the next is_odd.