Is there a function to get a list of all the dictionaries I am using in a Julia session?
I am trying to find the value of a key inside a dictionary, but cant seem to find the dictionary and wanted to make sure I have it.
>Solution :
I assume that you want to get a list of all dictionaries defined in your Julia session.
Supposing you have
a=Dict()
and b=Dict()
you can find them with the following code:
julia> [f for f in names(Main) if getfield(Main,f) isa AbstractDict]
2-element Vector{Symbol}:
:a
:b