API reference
python:astx:astx.NullCheck.__init__
method __init__
__init__(value: Expr, loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/nullable.py:152
Declared as: python:astx:astx.nullable.NullCheck.__init__
Initialize a null test.
Parameters
-
value — Type: Expr
-
loc — Type: SourceLocation