This commit is contained in:
Andrej730
2025-04-28 13:27:30 +05:00
parent f9a0081b33
commit 10f84537de
6 changed files with 38 additions and 29 deletions
@@ -47,7 +47,7 @@ def validate_type(
combination, or False otherwise.
"""
def is_operand(item):
def is_operand(item: ifcopenshell.entity_instance) -> bool:
return (
item.is_a("IfcBooleanResult")
or item.is_a("IfcCsgPrimitive3D")