Skip to content

Interface: SortLabel

@kortexya/reasoninglayer


@kortexya/reasoninglayer / SortLabel

Defined in: src/types/sorts.ts:469

One label of a sort: its text and the language the source states for it.

Every label the engine answers carries both fields; language is null for a label with no stated language. Wire: {"value": "...", "language": "fr" | null} (SortLabelDto, engine #1172).

language: string | null

Defined in: src/types/sorts.ts:476

The label’s language: a well-formed BCP 47 tag (fr, en-GB) in canonical case, or null when none is stated.


value: string

Defined in: src/types/sorts.ts:471

The label’s text.