Function checkStringEmpty(const std::string&)

Function Documentation

bool checkStringEmpty(const std::string &line)

Checks if a given string is empty or contains only whitespace characters.

Parameters:

line – A string to be checked.

Returns:

Returns true if the string is empty or contains only whitespace, false otherwise.