Function List.opDollar

Returns the length of the list, in terms of number of elements.

size_t opDollar() const pure nothrow @nogc scope @safe;

Same as length().