Array.length

Returns the number of elements in the array.

Complexity: O(1).

  1. size_t length [@property getter]
    struct Array(T)
    @property const
    size_t
    length
    ()
    if (
    is(immutable T == immutable bool)
    )
  2. size_t length [@property setter]

Meta