functionis_listpureprivate
pure logical function is_list(tag)
True if tag is ul or ol.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| tag | character(len=*) | in | the tag |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| is_list | logical |
Source
Show the code
pure logical function is_list(tag)
character(len=*), intent(in) :: tag !! the tag
is_list = tag == 'ul' .or. tag == 'ol'
end function is_list