zng::stack

Function is_odd

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

P If the child index is odd.

Child index is zero-based, so the first is_even, the next one is odd.