Luna::Array::at

constexpr const_reference at(usize pos) const

Gets a const refernece of the element at the specified index.

Parameters

  • in pos

    The index of the element.

Return value

Returns a const reference of the specified element.