def getVarType(line) -> str:
    """ Gets the type from a given string and returns it as str """

    l = line.strip().split(' ')
    if l[0].startswith("@"):
        if l[0].startswith("@var"):
            return l[1].strip()
        else:
            return "META"
    elif l[0].startswith("--"):
        return "ROOT"
    return "UNKNOWN"