rust_string_utils::utils::is_empty

Function is_empty

source
pub fn is_empty(str: &String) -> bool
Expand description

Checks if the given string is empty.

§Arguments

  • str - A String to check for emptiness.

§Returns

  • true if the string is empty, otherwise false.