CodeQL library for GitHub Actions
codeql/actions-all 0.4.29 (changelog, source)
Search

Predicate partialLineLengthSum

Gets the sum of the length of the lines up to the given index.

Import path

import codeql.actions.ast.internal.Ast
int partialLineLengthSum(string text, int i)