Retrieve a module metadata from modules tibble.

getModuleById(modules, moduleId)

Arguments

modules

tibble with modules metadata. tibble format: type, name, id, parameters.

moduleId

id of the module to retrieve.

Value

tibble containing the module if it was found. Empty tibble otherwise.