isComment( item )

Returns true is the specified item is an XML comment object and false otherwise.

:-) <!-- an XML comment -->.isComment;
There is 1 result
<true>
:-) "not a comment".isComment;
There is 1 result
<false>