Module

x/ts_morph/common/ts_morph_common.d.ts>StringUtils.getLineStartFromPos

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method StringUtils.getLineStartFromPos
import { StringUtils } from "https://dotland.deno.dev/x/ts_morph@18.0.0/common/ts_morph_common.d.ts";

Parameters

str: string
pos: number

Returns

number