Rulvar API reference / @rulvar/rulvar / anchorGroundingFindingsOf
Function: anchorGroundingFindingsOf()
ts
function anchorGroundingFindingsOf(text, options): AnchorGroundingFinding[];Defined in: packages/core/dist/index.d.ts
The pure engine behind anchorGroundingValidator: every wrong line finding of text against the snapshot, in document order. The validator renders these as reasons; a harness reads them directly.
Parameters
| Parameter | Type |
|---|---|
text | string |
options | AnchorGroundingOptions |