peripheral.isPresent
From ComputerCraft Wiki
| Tells you whether a peripheral is present on a side of the computer or the turtle. | |
| Syntax | peripheral.isPresent((string) side) |
| Returns | boolean whether a peripheral is present on side. |
| Part of | ComputerCraft |
| API | peripheral |