```D void main() { int[string] test; test["hello"] = 42;
if (auto it = "hello" in test) { } } ```Is there a way to get the value instead of a pointer? while keeping the conciseness (one line)
ryuukk_ via Digitalmars-d-learn Sat, 31 Aug 2024 05:51:39 -0700
```D void main() { int[string] test; test["hello"] = 42;
if (auto it = "hello" in test) { } } ```Is there a way to get the value instead of a pointer? while keeping the conciseness (one line)