MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / _ref_or_none

Function _ref_or_none

src/ifcquery/ifcquery/relations.py:37–38  ·  view source on GitHub ↗
(element: ifcopenshell.entity_instance | None)

Source from the content-addressed store, hash-verified

35
36
37def _ref_or_none(element: ifcopenshell.entity_instance | None) -> dict[str, Any] | None:
38 return _ref(element) if element is not None else None
39
40
41def _ref_list(elements) -> list[dict[str, Any]]:

Callers

nothing calls this directly

Calls 1

_refFunction · 0.70

Tested by

no test coverage detected