blockly > Workspace > getCommentById

Metodo Workspace.getCommentById()

Trova il commento in questo spazio di lavoro con l'ID specificato.

Firma:

getCommentById(id: string): WorkspaceComment | null;

Parametri

Parametro Tipo Descrizione
id stringa ID del commento da trovare.

Restituisce:

WorkspaceComment | null

Il commento cercato o null se non trovato.