如何在以下 if 语句中针对特定主题/类别/标签

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 个赞