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.29.1/lib/mod.deps.ts";

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