Function Array.length

Get number of elements in array.

size_t length() const nothrow;

Example

Array!int arr;
scope(exit) arr.free();

arr.insertBack([1,2,3]);
assert(arr.length == 3);