text (1)
indented¶
indented(text: str, indentation: str = ' ') -> bool
Check whether all lines of given text are indented.
DocStrings
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
The text to check |
required |
indentation
|
str
|
The indent each line must start with |
' '
|