get

Like AA.get - soft indexing, returns default value on out-of-bounds.

  1. T get(T[] arr, size_t index)
  2. auto get(T[] arr, size_t index, T defaultValue)
    get
    (
    T
    )
    (
    T[] arr
    ,
    size_t index
    ,
    auto ref T defaultValue
    )

Meta