The OpenD Programming Language

Array.opSlice

  1. Range opSlice()
    struct Array(T)
    opSlice
    ()
    if (
    is(immutable T == immutable bool)
    )
  2. Range opSlice(size_t a, size_t b)

Return Value

Type: Range

A range that iterates over all elements of the array in forward order.

Complexity: O(1)

Meta