method default.prototype.endsWithimport { default } from "https://deno.land/x/code_block_writer@11.0.0/mod.ts"; 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