Skip to main content

endswith

Function endswith 

Source
pub fn endswith<D: Dimension>(
    a: &StringArray<D>,
    suffix: &str,
) -> FerrayResult<Array<bool, Ix1>>
Expand description

Test whether each string element ends with the given suffix.

Returns an Array<bool> indicating the result for each element.

ยงErrors

Returns an error if the internal array construction fails.