def deleteNodesByType(nodeTypeList=[]):
    '\n\tDelete nodes of the specified type(s).\n\t@param nodeTypeList: List of node types to delete.\n\t@type nodeTypeList: list\n\t'
    if (not nodeTypeList):
        return []
    nodeList = mc.ls(type=nodeTypeList)
    if nodeList:
        mc.delete(nodeList)
    else:
        nodeList = []
    return nodeList
Delete nodes of the specified type(s).
@param nodeTypeList: List of node types to delete.
@type nodeTypeList: list
def deleteNodesByType(nodeTypeList=[]):
    '\n\tDelete nodes of the specified type(s).\n\t@param nodeTypeList: List of node types to delete.\n\t@type nodeTypeList: list\n\t'
    if (not nodeTypeList):
        return []
    nodeList = mc.ls(type=nodeTypeList)
    if nodeList:
        mc.delete(nodeList)
    else:
        nodeList = []
    return nodeList