pub fn array_set<T>(
name: &str,
index: usize,
value: T,
) -> Result<(), VariableError>
Expand description
Change an element of the array contained in the shell variable referenced by
name
.
value
is not required to be valid UTF-8, but it can’t contain any nul
byte.