_aaGetX

fnV * _aaGetX(K, V, K2, V2)(auto ref scope V[K] a, auto ref K2 key, out bool found, lazy V2 v2)

Lookup key in aa. Called only from implementation of require, update and _d_aaGetY

Parameters

aassociative array
keyreference to the key value
foundtrue if the value was found
v2if key not found, init new value to this (except if type _noV2)

Returns

if key was in the aa, a mutable pointer to the existing value.

If key was not in the aa, a mutable pointer to newly inserted value which is set to v2 or is zero-initialized