How to target a specific topic/category/tag in the following if statement

Is there a way I can target a specific topic/category/tag in the following if statement:

if (Discourse.User.currentProp("topic_count") > 0)

If so, I’m happy to hear from you!

1 Like