PromptShield logo PromptShield
API DocsInterfaces

ThreatLoc

Defined in: types.ts:95

Location of a threat within the scanned text.

The scanner reports both human-readable and machine-friendly position data.

Properties

column

column: number

Defined in: types.ts:100

1-based column number

index

index: number

Defined in: types.ts:103

0-based character index in the scanned text

line

line: number

Defined in: types.ts:97

1-based line number

On this page