class Solargraph::Source::Cursor

def comment?

Returns:
  • (Boolean) -
def comment?
  @comment ||= source.comment_at?(position)
end