Replace n/a and empty strings with `None`.
(x: Any)
| 1018 | |
| 1019 | |
| 1020 | def val(x: Any) -> Any: |
| 1021 | """Replace n/a and empty strings with `None`.""" |
| 1022 | return x if x not in ("", "n/a") else None |
| 1023 | |
| 1024 | |
| 1025 | def get_area_measurement(element: ifcopenshell.entity_instance) -> Union[str, None]: |
no outgoing calls
no test coverage detected