Array.back

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

Return Value

Type: bool

The last element of the array.

Precondition: empty == false

Complexity: O(1)

Throws

Exception if the array is empty.

Meta