Given a teal_module or a teal_modules, return the elements of the structure according to class.
extract_module(modules, class)drop_module(modules, class)
For extract_module, a teal_module of class class or teal_modules containing modules of class class.
For drop_module, the opposite, which is all teal_modules of class other than class.
teal_modules
(teal_modules)
The class name of teal_module to be extracted or dropped.