• Returns either the children names if there are children with names, otherwise it will return the data value of the first child

    Parameters

    • dom: any

    Returns any