groupCollapsed

abstract fun groupCollapsed(vararg data: JsAny?)(source)

The console.groupCollapsed() static method creates a new inline group in the console. Unlike console.group(), however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.

MDN Reference


abstract fun groupCollapsed(vararg data: String?)(source)