MCPcopy Index your code
hub / github.com/gridstack/gridstack.js / findNode

Function findNode

spec/gridstack-engine-spec.ts:8–10  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

6 let e: GridStackEngine;
7 let ePriv: any; // cast engine for private vars access
8 let findNode = function(id: string) {
9 return e.nodes.find(n => n.id === id);
10 };
11
12 it('should exist setup function.', () => {
13 expect(GridStackEngine).not.toBeNull();

Callers 1

Calls 1

findMethod · 0.80

Tested by

no test coverage detected