Modem.isOpen
From ComputerCraft Wiki
Revision as of 16:47, 8 June 2013 by Chainmanner (Talk | contribs) (Created page with "{{Function |name=modem.isOpen |args=int channel |api=Modem |addon=ComputerCraft |desc=Checks whether or not a certain channel is open. |examples= {{Example |de...")
| Checks whether or not a certain channel is open. | |
| Syntax | modem.isOpen(int channel) |
| Returns | nil |
| Part of | ComputerCraft |
| API | Modem |
Examples
| Checks whether the computer is listening on this channel. | |
| Code |
modem.isOpen(1) |