Skip to main content

check_not_empty

Function check_not_empty 

Source
pub fn check_not_empty(vec: &[f32]) -> Result<(), &'static str>
Expand description

Validate that vector is not empty