MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / _register

Function _register

core/src/utils/menu-controller/index.ts:164–168  ·  view source on GitHub ↗
(menu: MenuI)

Source from the content-addressed store, hash-verified

162 };
163
164 const _register = (menu: MenuI) => {
165 if (menus.indexOf(menu) < 0) {
166 menus.push(menu);
167 }
168 };
169
170 const _unregister = (menu: MenuI) => {
171 const index = menus.indexOf(menu);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected