os.unloadAPI

From ComputerCraft
Jump to navigation Jump to search

os.unloadAPI
Function
Syntax
os.unloadAPI()
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.

ExampleExampleUnload a API
Unload the "term" API (not recommend)
Code
os.unloadAPI("term")