wasConnected property

bool wasConnected
getter/setter pair

True if the previous state was connected

Implementation

bool wasConnected = false;