API reference
python:irx:irx.analysis.ownership.symbol_resource_ownership
function symbol_resource_ownership
symbol_resource_ownership(symbol: SemanticSymbol | None) -> ResourceOwnership | None
Source: packages/irx/src/irx/analysis/ownership.py:48
Return the ownership contract attached to a symbol declaration.
Parameters
- symbol — Type: SemanticSymbol | None
Returns
Type: ResourceOwnership | None