is_category( ... )

Determines whether the query is for an existing category archive page.

Parameters:
  • $category int | string | int[] | string[]