MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / lines

Function lines

__tests__/operator-method-names.test.ts:22–22  ·  view source on GitHub ↗
(...l: string[])

Source from the content-addressed store, hash-verified

20import type { Node } from '../src/types';
21
22const lines = (...l: string[]): string => [...l, ''].join('\n');
23
24/** The 1-based line of `text` that contains `needle` (exactly one must). */
25const lineOf = (text: string, needle: string): number => {

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected