Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(node), | intent(in) | :: | this |
Returns whether or not a values has been assigned to the node.
elemental logical function has_contents(this)
!* Author: Chris MacMackin
! Date: February 2016
!
! Returns whether or not a values has been assigned to the node.
!
class(node), intent(in) :: this
has_contents = allocated(this%contents)
end function has_contents