os.unloadAPI

os.unloadAPI
Function
Syntax
os.unloadAPI(
  • api : string
)

Returns nil
API os
Source CC:Tweaked (source)
This function is deprecated. Use of this function will pollute the global table, use require instead.

Unloads a API which was loaded by os.loadAPI.

ExampleUnload a API
Unload the "term" API (not recommend)
Code
os.unloadAPI("term")
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.