EzXML.jl icon indicating copy to clipboard operation
EzXML.jl copied to clipboard

Implementation of get(node, name, default) function?

Open BenjaminGalliot opened this issue 4 years ago • 0 comments

Hello,

I would like to know if a get(node, name, default) function could be nice (as well as get!), as it exists already for many objects, like Dict.

Currently, it seems we have to combine haskey(node, name) and node[name], except if I missed a similar function?

Sincerely.

BenjaminGalliot avatar Jul 01 '20 12:07 BenjaminGalliot