front

fninout(T) front(T)(return scope inout(T)[] a) if (!isAutodecodableString!(T[]) && !is(T[] == void[])) @property ref @safe pure nothrow @nogc

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

fndchar front(T)(scope const(T)[] a) if (isAutodecodableString!(T[])) @property @safe pure

ditto