MCPcopy Create free account
hub / github.com/DTStack/molecule / getGroupById

Method getGroupById

src/services/workbench/editorService.ts:565–568  ·  view source on GitHub ↗
(groupId: UniqueId)

Source from the content-addressed store, hash-verified

563 }
564
565 public getGroupById(groupId: UniqueId): IEditorGroup | undefined {
566 const { groups } = this.state;
567 return groups!.find(searchById(groupId));
568 }
569
570 public getGroupIndexById(id: UniqueId): number {
571 const { groups } = this.state;

Callers 4

getTabByIdMethod · 0.95
updateTabMethod · 0.95
openMethod · 0.95
cloneGroupMethod · 0.95

Calls 1

searchByIdFunction · 0.90

Tested by

no test coverage detected