Skip to content

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 ​

ParameterType
kindTypeKind | "builtin"

Returns ​

string

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.