mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-27 14:52:15 +01:00
big time reset, we are not using TMX anymore, but instead using the JS format because it is way simpler to parse
7 lines
135 B
Python
7 lines
135 B
Python
def is_float(string: str):
|
|
try:
|
|
float(string)
|
|
return True
|
|
except (ValueError, TypeError):
|
|
return False
|