Checking if the running platform is mac. Returns ------- bool True if the running platform is mac.
()
| 92 | |
| 93 | |
| 94 | def is_platform_mac() -> bool: |
| 95 | """ |
| 96 | Checking if the running platform is mac. |
| 97 | |
| 98 | Returns |
| 99 | ------- |
| 100 | bool |
| 101 | True if the running platform is mac. |
| 102 | """ |
| 103 | return sys.platform == "darwin" |
| 104 | |
| 105 | |
| 106 | def is_platform_arm() -> bool: |
no outgoing calls