Skip to main content

split

Function split 

Source
pub fn split(
    block: &mut Instructions,
    step_id: &str,
    add_indices: &[usize],
) -> Result<String, String>
Expand description

Split the adds at add_indices out of step_id into a new step right after it, with the arrows and callouts that point at their occurrences. Returns the new step’s id.