API reference

python:astx:astx.types.operators.DataTypeOps.__neg__

method __neg__

__neg__() -> UnaryOp

Source: packages/astx/src/astx/types/operators.py:149

Overload the magic neg method.

Returns

Type: UnaryOp

Search documentation

Type to search.