Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
method CodeBlockWriter.prototype.newLineIfLastNot
import { CodeBlockWriter } from "https://deno.land/x/dnt@0.36.0/lib/mod.deps.ts";

Writes a newline if the last line was not a newline.