The OpenD Programming Language

HashMap.fetch

fetch is safe(do not return pointer) and nogc (do not throw exception) variant of "in" but retuns tuple("ok", "value"). You can check if result.ok == true. It this case you'll find value in "value"

struct HashMap(K, V, Allocator = Mallocator, bool GCRangesAllowed = true)
fetch
(
K
)
(
K k
)

Meta