method CodeBlockWriter.prototype.conditionalWriteLineimport { CodeBlockWriter } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts"; conditionalWriteLine(condition: boolean | undefined, textFunc: () => string): thisConditionally writes a line of text. conditionalWriteLine(condition: boolean | undefined, text: string): thisConditionally writes a line of text. Conditionally writes a line of text. Parameterscondition: boolean | undefined Condition to evaluate. textFunc: () => string A function that returns a string to write if the condition is true. ReturnsthisConditionally writes a line of text. Parameterscondition: boolean | undefined Condition to evaluate. text: string Text to write if the condition is true. Returnsthis