Returns optional end of range
import optional: some, none; assert([1, 2].last == some(2)); assert((int[]).init.last == none);
See Implementation
- 0.0.1
Returns optional end of range