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

Writes a blank line if the condition is true.

Parameters

condition: boolean | undefined
  • Condition to evaluate.