assocArray.get(key, default) exists?

Andrej Mitrovic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 21 11:07:31 PDT 2014


On Saturday, June 21, 2014, Paul via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:
> IS there such method get(key, default) for associative arrays, like in
Python?
>

I think it's named getDefault, try that.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140621/e35ecf2e/attachment.html>


More information about the Digitalmars-d-learn mailing list