hasChildren
hasChildren()
<occurence>:getDocumentType()
Restituisce la stringa rappresentante l'enumerazione della tipologia di documento.
Esempio 1. Esempio hasChildren
local top = top_ptop()
local padre = top:new("Q_PADRE")
padre:new("Q_FIGLIO")
local foglia = top:new("Q_FOGLIA")
local hcPadre = padre:hasChildren()
local hcFoglia = foglia:hasChildren()
print("\nhasChildren(padre) = " .. tostring(hcPadre))
print("\nhasChildren(foglia) = " .. tostring(hcFoglia))
EraseEmptyParts(1)