hasIcons function

bool hasIcons(
  1. List<ZdsTab> items
)

Checks if the ZdsTab contains an icon

Implementation

bool hasIcons(List<ZdsTab> items) {
  return items.any((ZdsTab element) => element.icon != null);
}