Skip to content

CmText.of method

CmText › of

Unofficial

Create a text from an array of lines.

Signature:

of(text: readonly string[]): CmText

Parameters:

ParameterTypeDescription
textreadonly string[]The lines to create the text from.

Returns: CmTextThe created text.