Module

x/ts_morph/ts_morph.d.ts>CodeBlockWriter#endsWith

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method CodeBlockWriter.prototype.endsWith
import { CodeBlockWriter } from "https://dotland.deno.dev/x/ts_morph@22.0.0/ts_morph.d.ts";

Gets if the writer ends with the provided text.

Parameters

text: string
  • Text to check if the writer ends with the provided text.

Returns

boolean