SourceLanguage.getStyleFallback

Returns the ID of the style to use if the specified style_id is not present in the current style scheme.

class SourceLanguage
string
getStyleFallback
(
string styleId
)

Parameters

styleId string

a style ID.

Return Value

Type: string

the ID of the style to use if the specified style_id is not present in the current style scheme or NULL if the style has no fallback defined. The returned string is owned by the language and must not be modified.

Meta