Difference between revisions of "Disk.isPresent"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) |
m (Moved to CAT:APIFunctions) |
||
Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:33, 28 November 2012
Function disk.isPresent | |
No description provided. | |
Syntax | disk.isPresent(string side) |
Returns | boolean something is in the disk drive |
Part of | ComputerCraft |
API | disk |
Examples
Example | |
Checks whether a disk is in the bottom disk drive or not | |
Code |
print(disk.isPresent("bottom")) |
Output | true if there is a disk, otherwise false |