Switch
Switch
Overview needed
Constructor
public Switch
new Switch()
Initializes Switch with no input ports, a single output port, and predetermined sizes.
Properties
No publicly accessible properties on Switch
Methods
public isOn
isOn() => false | true
Utility function to check if this Switch is on or not.
Returns
-
false | true
– True if the Switch is toggled, false otherwise.
public getDisplayName
getDisplayName() => string
Returns name of Component.
Returns
-
string
– The string "Switch".
Static Methods
No static methods for Switch