Check if Key exists in Associative Array using D language.

BoQsc vaidas.boqsc at gmail.com
Tue Apr 5 11:26:27 UTC 2022


I've found [std.algorithm: canFind][1] to be useful on a 
**regular arrays**.

I'd like to know if there is similar function: that can check if 
a **key** inside a [Associative Array][2] can be found.

[1]:https://dlang.org/phobos/std_algorithm_searching.html#.canFind
[2]:https://dlang.org/spec/hash-map.html


More information about the Digitalmars-d-learn mailing list