Get the Newsletter

createComment

A Method

createComment(text: string): Comment

Creates a new Comment node.

Parameters

text: string
A string to populate the new Comment node.

Returns

A Comment node.