Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/ts_morph/ts_morph.js>CodeBlockWriter#conditionalBlankLine

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method CodeBlockWriter.prototype.conditionalBlankLine
Re-export
import { CodeBlockWriter } from "https://deno.land/x/ts_morph@20.0.0/ts_morph.js";

Writes a blank line if the condition is true.

Parameters

condition: boolean | undefined
  • Condition to evaluate.