method CodeBlockWriter.prototype.endsWithimport { CodeBlockWriter } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.js"; endsWith(text: string): booleanGets if the writer ends with the provided text. Parameterstext: string Text to check if the writer ends with the provided text. Returnsboolean