func indices<C : CollectionType>(_: C) Return the range of x 's valid index values. The result's endIndex is the same as that of x. Because Range is half-open, iterating the values of the result produces all valid subscript arguments for x, omitting its endIndex. Declaration func indices<C : CollectionType>(x: C) -> Range<C.Index>