Difference between revisions of "Modem.isOpen"
From ComputerCraft Wiki
m (Added " |returns={{type|bool}} isOpen " line.) |
(Categorised page) |
||
Line 12: | Line 12: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 09:41, 25 March 2014
Function modem.isOpen | |
Checks whether or not a certain channel is open. | |
Syntax | modem.isOpen(int channel) |
Returns | bool isOpen |
Part of | ComputerCraft |
API | Modem |
Examples
Example | |
Checks whether the computer is listening on this channel. | |
Code |
modem.isOpen(1) |