API reference
python:arxpy:arxpy.typecheck
module typecheck
arxpy.typecheck
Source: packages/arxpy/src/arxpy/typecheck.py:1
Runtime type-checking helpers for ArxPy.
Reuse ASTx's import-time runtime-checking policy. Tests enable validation of arguments, return values, and every collection item; regular usage does not instrument the programmatic compiler API.
Functions
- typechecked — Instrument a function or class when runtime checking is enabled.