pydistsim.network.sensor.node_in_network

node_in_network(fun: Callable)[source]

Decorator function that checks if node is in network.

Parameters:

fun (Callable) – The function to be decorated.

Returns:

The decorated function.

Return type:

Callable