nuke.tabClose

nuke.tabClose()

Close the active dock tab. Returns True if successful.