blockly > Workspace > getCommentById

Workspace.getCommentById() yöntemi

Belirtilen kimliğe sahip bu çalışma alanındaki yorumu bulun.

İmza:

getCommentById(id: string): WorkspaceComment | null;

Parametreler

Parametre Tür Açıklama
id dize Bulunacak yorumun kimliği.

İadeler:

WorkspaceComment | null

Aranan yorum veya bulunamazsa null.