Skip to main content

ensureNewLine

Summary

Adds a newline if the file pointer is not already at the start of the line (or start of the stream).

Signature

ensureNewLine(): void;

Parameters

This method takes no parameters.

Returns

Type:void Adds a newline if the file pointer is not already at the start of the line (or start of the stream).