MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / inConsoleGroup

Function inConsoleGroup

ses.cjs:3943–3951  ·  view source on GitHub ↗
(level, ...args)

Source from the content-addressed store, hash-verified

3941 {
3942 let groupStarted= false;
3943 const inConsoleGroup= (level, ...args)=> {
3944 if( !groupStarted) {
3945 // eslint-disable-next-line @endo/no-polymorphic-call
3946 console.groupCollapsed('Removing unpermitted intrinsics');
3947 groupStarted= true;
3948 }
3949 // eslint-disable-next-line @endo/no-polymorphic-call
3950 return console[level](...args);
3951 };
3952
3953 // These primitives are allowed for permits.
3954 const primitives= ['undefined', 'boolean', 'number', 'string', 'symbol'];

Callers 1

visitPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected