Tests if this SofuObject has a comment.

C# |
public bool HasComment()

True if there is a comment, false otherwise


Sofu.Sofu.Map file = SofuReader.LoadFile("file.sofu"); Consile.Out.WriteLine("The comment for this file is: "); if (file.HasComment()) Console.Out.WriteLine(file.GetComment()); else Console.Out.WriteLine("File has no comment");