Switch.setActive

void setActive(bool isActive) nothrow

Changes the state of sw to the desired one.

Parameters

isActivetrue if sw should be active, and false otherwise