mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
typing
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user