Deleting all layers by grouping them

So normally u cant delete all the layers even with scripts, but u can actually group the layers and delete the group to delete all the layers

hi, itzB2! you can do that? what’s the version? in my 1.3 beta7 you can’t delete all layers even when grouped.