removeFirst method

Option<Tuple2<A, IVector<A>>> removeFirst()

Implementation

Option<Tuple2<A, IVector<A>>> removeFirst() => get(0).map((first) => tuple2(first, new IVector._internal(_elementsByIndex.remove(_offset), _offset+1, _length-1)));