(x: str)
| 67 | |
| 68 | |
| 69 | def _str_is_int(x: str) -> bool: |
| 70 | try: |
| 71 | x = _strip_properly_formatted_commas(x) |
| 72 | x = float(x) |
| 73 | return abs(x - int(round(x))) <= 1e-7 |
| 74 | except: |
| 75 | return False |
| 76 | |
| 77 | |
| 78 | def _str_to_int(x: str) -> bool: |
no test coverage detected