Function is_numeric_array

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

Determines if the entire array is numeric (ints or floats).

let x = [1, 2, 3.0, 5.0];
assert_eq(is_numeric_array(x), true);
let x = [1, 2, 3.0, 5.0, "a"];
assert_eq(is_numeric_array(x), false);