Function smartnoise_runtime::components::cast::cast_bool[][src]

pub fn cast_bool(data: &Array, positive: &Array) -> Result<ArrayD<bool>>

Cast data to type bool.

The element(s) listed in positive are mapped to true, all others to false.

Arguments

Return

Data cast to bool.