Function is_list

Source
pub fn is_list(arr: &mut Array) -> bool
Expand description

Tests whether the input in a simple list array

let x = [1, 2, 3, 4];
assert_eq(is_list(x), true);
let x = [[[1, 2], [3, 4]]];
assert_eq(is_list(x), false);