Modem.isOpen
From ComputerCraft Wiki
| Checks whether or not a certain channel is open. | |
| Syntax | modem.isOpen(number channel) |
| Returns | nil |
| Part of | ComputerCraft |
| API | Modem |
Examples
| Checks whether the computer is listening on this channel. | |
| Code |
modem.isOpen(1) |