Switch.setActive

Changes the state of @sw to the desired one.

class Switch
void
setActive
()

Parameters

isActive bool

%TRUE if @sw should be active, and %FALSE otherwise

Meta