PyDocs

Nav

Python Runtime Services

bytearray.istitle

  • bytearray.istitle()
B.istitle() -> bool

Return True if B is a titlecased string and there is at least one
character in B, i.e. uppercase characters may only follow uncased
characters and lowercase characters only cased ones. Return False
otherwise.
1 Example
>>> b'Hello World'.istitle()
True
>>> b'Hello world'.istitle()
False
from the Python docs
See Also
No see-alsos for builtins/bytearray.istitle
0 Notes
No notes for bytearray.istitle