<< getmodules Modules manager module.json >>

ismodule


Checks if a module is loaded.


Syntax


state = ismodule(module_short_name)

Input argument


module_short_name

a string: short module's name to test.

Output argument


state

a logical.

Description


ismodule returns true if module is loaded otherwise false.

Example


ismodule('core')
ismodule('mymodule')

See also


requiremodule, getmodules.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< getmodules Modules manager module.json >>