MutexedAA.length

Returns the length of the internal associative array.

struct MutexedAA(AA : V[K], V, K)
length
()

Return Value

Type: auto

The length of the internal associative array.

Examples

MutexedAA!(string[int]) aa;
aa.setup();  // important!

assert(aa.length == 0);
aa[1] = "one";
aa[2] = "two";
assert(aa.length == 2);

Meta