Returns the "applet type" of the running application.
This can be used to differentiate between "applet mode" vs. "full-memory mode".
import { AppletType } from '@nx.js/constants';if (Switch.appletType() === AppletType.Application) { console.log('Running in "full-memory mode"');} else { console.log('Running in "applet mode"');} Copy
import { AppletType } from '@nx.js/constants';if (Switch.appletType() === AppletType.Application) { console.log('Running in "full-memory mode"');} else { console.log('Running in "applet mode"');}
Generated using TypeDoc
Returns the "applet type" of the running application.
This can be used to differentiate between "applet mode" vs. "full-memory mode".