Module

x/ts_morph/common/mod.ts>StringUtils.getLengthFromLineStartAtPos

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Go to Latest
method StringUtils.getLengthFromLineStartAtPos
import { StringUtils } from "https://dotland.deno.dev/x/ts_morph@21.0.0/common/mod.ts";

Parameters

str: string
pos: number

Returns

number