You can do it iteratively:
nms = names(MyModule; imported=true)
for mod in Base.loaded_modules_array()
if isdefined(MyModule, nameof(mod))
append!(nms, names(mod))
end
end
You can do it iteratively:
nms = names(MyModule; imported=true)
for mod in Base.loaded_modules_array()
if isdefined(MyModule, nameof(mod))
append!(nms, names(mod))
end
end