method Console.groupCollapsed Private Console.groupCollapsed(...data: any[]): void Creates a new inline group in the console that is initially collapsed Examples Example 1 console.groupCollapsed('Details'); console.log('Hidden until expanded'); console.groupEnd(); Parameters ...data: any[] Return Type void