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

Method GetOutputWire

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

Source from the content-addressed store, hash-verified

452}
453
454func (c *Comparator) GetOutputWire(index int) bool {
455 return c.outputs[index].Get()
456}
457
458func (c *Comparator) SetInputWire(index int, value bool) {
459 c.inputs[index].Update(value)

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected