Outfall.is_outfall#

Outfall.is_outfall()#

Check if node is a Outfall Type.

Returns:

is outfall

Return type:

bool

Examples:

>>> from pyswmm import Simulation, Nodes
>>>
>>> with Simulation('tests/data/model_weir_setting.inp') as sim:
...     j1 = Nodes(sim)["J1"]
...     print(j1.is_outfall())
True