bytes.istitle()
bytearray.istitle()
Return true if the sequence is ASCII titlecase and the sequence is not empty, false otherwise. See bytes.title()
for more details on the definition of “titlecase”.
For example:
1 2 3 4 | >>> b 'Hello World' .istitle() True >>> b 'Hello world' .istitle() False |
Please login to continue.