Method: Asciidoctor::ListItem#compound?

Defined in:
lib/asciidoctor/list.rb

#compound?Boolean

Check whether this list item has compound content (nested blocks aside from a single outline list). Primarily relevant for outline lists.

Returns:

  • (Boolean)

    Return true if the list item contains blocks other than a single outline list. Otherwise, return false.



98
99
100
# File 'lib/asciidoctor/list.rb', line 98

def compound?
  !simple?
end