Skip to main content

viable_sibling

Function viable_sibling 

Source
fn viable_sibling(
    it: &Interp,
    parent: usize,
    self_idx: usize,
    a: &[Value],
    forward: bool,
) -> Option<usize>
Expand description

兄弟(self_idx の親の子)のうち、a に含まれない最初のもの(forward なら後ろ向き、でなければ前向き)。