MCPcopy Create free account
hub / github.com/djhworld/simple-computer / GetOutputWire

Method GetOutputWire

components/components.go:229–231  ·  view source on GitHub ↗
(index int)

Source from the content-addressed store, hash-verified

227}
228
229func (n *NOTer) GetOutputWire(index int) bool {
230 return n.outputs[index].Get()
231}
232
233func (n *NOTer) SetInputWire(index int, value bool) {
234 n.inputs[index].Update(value)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected