Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Function.Get Sub Type

sprotty-protocol / getSubType

Function: getSubType()

getSubType(schema): string

Defined in: utils/model-utils.ts:74

Model element types can include a colon to separate the basic type and a sub-type. This function extracts the sub-type of a model element.

Parameters

schema

type

string

Returns

string