Like :meth:`next_if` but only returns `True` or `False`.
(self, expr: str)
| 374 | return None |
| 375 | |
| 376 | def skip_if(self, expr: str) -> bool: |
| 377 | """Like :meth:`next_if` but only returns `True` or `False`.""" |
| 378 | return self.next_if(expr) is not None |
| 379 | |
| 380 | def __next__(self) -> Token: |
| 381 | """Go one token ahead and return the old one. |
no test coverage detected