listCategory

fun listCategory(category: dynamic): Array<String>?

List icons in a category.

Updates the category count, excluding aliases and hidden icons, and removes the category if it is empty. Returns null when the category does not exist or is empty.