Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/djhworld/simple-computer
/ IsInputMode
Method
IsInputMode
components/iobus.go:51–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
49
}
50
51
func
(i *IOBus) IsInputMode() bool {
52
return
i.wires[MODE].Get() == false
53
}
54
55
func
(i *IOBus) IsOutputMode() bool {
56
return
i.wires[MODE].Get() == true
Callers
nothing calls this directly
Calls
1
Get
Method · 0.45
Tested by
no test coverage detected