IsMarkdownComment
- IsMarkdownComment(comment): bool
-
Return true if string passed as argument starts with Markdown indicator.
comment |
String parameter from $object.setComments method |
// To remove Markdown indicator from string the following code can be used: s = s.substring(3); // And to get object comment always as text: comment = IsMarkdownComment($object.comments) ? $object.comments.substring(3) : $object.comments;