disk.hasAudio
From ComputerCraft Wiki
Revision as of 18:33, 28 November 2012 by AfterLifeLochie (Talk | contribs) (Moved to CAT:APIFunctions)
| No description provided. | |
| Syntax | disk.hasAudio(string side) |
| Returns | boolean there is audio saved on the disk |
| Part of | ComputerCraft |
| API | disk |
Examples
| Checks for audio saved on the disk in the bottom drive | |
| Code |
print(disk.hasAudio("bottom"))
|
| Output | true if there is audio, otherwise false |