Difference between revisions of "Disk.hasAudio"
From ComputerCraft Wiki
Scarfacial (Talk | contribs) (Created page with "{{lowercase}} {{Function |name=disk.hasAudio |args=string side |api=disk |returns=boolean there is audio saved on the disk |addon=ComputerCraft |examples...") |
m (Moved to CAT:APIFunctions) |
||
Line 13: | Line 13: | ||
}} | }} | ||
}} | }} | ||
+ | |||
+ | [[Category:API_Functions]] |
Revision as of 18:33, 28 November 2012
Function disk.hasAudio | |
No description provided. | |
Syntax | disk.hasAudio(string side) |
Returns | boolean there is audio saved on the disk |
Part of | ComputerCraft |
API | disk |
Examples
Example | |
Checks for audio saved on the disk in the bottom drive | |
Code |
print(disk.hasAudio("bottom")) |
Output | true if there is audio, otherwise false |