Hello,
Use a usual function to get a comment. Pubic or Internal it is just a property of a comment. If you want to see if a comment is public or internal then use this method:
https://confluence.cprime.io/display/JJUPIN/isPublicJSDComment
Имеешь ввиду, что эта функция возвращает свойства последнего комментария?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Нет, эта функция возвращает свойство любого комментария. В эту функцию передается id коммента. В примере просто взяли последний коммент
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Имелось в виду использование доп. функции getLastComment. Но это не влияет на ответ.
Благодарю за помощь!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.