rune-langium / visual-editor/src / getKindLabel
Function: getKindLabel()
ts
function getKindLabel(kind): string;Defined in: packages/visual-editor/src/components/editors/TypeSelector.tsx:151
Returns a human-readable label for a type kind. Delegates to the canonical KIND_LABEL map from KindBadge; handles the 'builtin' pseudo-kind (not a TypeKind) locally since KIND_LABEL only covers TypeKind values.
Parameters
| Parameter | Type |
|---|---|
kind | TypeKind | "builtin" |
Returns
string