import { StringUtils } from "https://dotland.deno.dev/x/ts_morph@17.0.1/common/ts_morph_common.d.ts";
Static Methods
endsWithNewLine(str: string | undefined): boolean
escapeForWithinString(str: string, quoteKind: "\"" | "'"): string
getLengthFromLineStartAtPos(str: string, pos: number): number
getLineEndFromPos(str: string, pos: number): number
getLineNumberAtPos(str: string, pos: number): number
getLineStartFromPos(str: string, pos: number): number
hasBom(text: string): boolean
indent(): string
str: string,
times: number,
options: { indentText: string; indentSizeInSpaces: number; isInStringAtPos: (pos: number) => boolean; },
insertAtLastNonWhitespace(str: string, insertText: string): string
isNullOrEmpty(str: string | undefined): str is undefined
isNullOrWhitespace(str: string | undefined): str is undefined
isQuoted(text: string): boolean
isSpaces(text: string): boolean
isWhitespace(text: string | undefined): boolean
isWhitespaceCharCode(charCode: number | undefined): boolean
removeIndentation(str: string, opts: { isInStringAtPos: (pos: number) => boolean; indentSizeInSpaces: number; }): string
startsWithNewLine(str: string | undefined): boolean
stripBom(text: string): string
stripQuotes(text: string): string