pub fn is_float_list(arr: &mut Array) -> bool
Expand description
Tests whether the input in a simple list array composed of floating point values.
let x = [1.0, 2.0, 3.0, 4.0];
assert_eq(is_float_list(x), true)
let x = [1, 2, 3, 4];
assert_eq(is_float_list(x), false)