ismodule
Checks if a module is loaded.
📝Syntax
state = ismodule(module_short_name)
state = ismodule(module_short_name, 'isprotected')
📥Input Arguments
Parameter Description
module_short_name a string: short module's name to test.
'isprotected' check module isprotected (ie. internal module).
📤Output Arguments
Parameter Description
state a logical.
📄Description

ismodule returns true if module is loaded otherwise false.

💡Examples
ismodule('core')
ismodule('mymodule')
🔗See Also
requiremodulegetmodules
🕔Version History
Version Description
1.0.0 initial version
1.11.0 'isprotected' second argument.
Edit this page on GitHub