ID EN
Built-in Types

isspace

Python 3.11

Return True if there are only whitespace characters in the string and there is at least one character, False otherwise.

Syntax

PYTHON
str.isspace()

See Also

unicodedata