Function LexerRange.startsWith

bool startsWith (
  const(ubyte[]) needle
) pure nothrow @nogc @safe const;

Returns

true if the range starts with the given byte sequence