popBack

fnvoid popBack(T)(scope ref inout(T)[] a) if (!isAutodecodableString!(T[]) && !is(T[] == void[])) @safe pure nothrow @nogc

Implements the range interface primitive popBack for built-in arrays. Due to the fact that nonmember functions can be called with the first argument using the dot notation, array.popBack is equivalent to popBack(array). For narrow strings, popFront automatically eliminates the last code point.

fnvoid popBack(T)(scope ref inout(T)[] a) if (isAutodecodableString!(T[])) @safe pure

ditto