Removes the last element along dimension `dim` (default 0) from a slice or array.
auto ar = [3, 4]; ar.popBack; assert(ar == [3]); ar.popBack!0; // Slice-like API assert(ar == []);
Removes the last element along dimension `dim` (default 0) from a slice or array.