nuke.scriptClose

nuke.scriptClose()

Close the current script or group. Returns True if successful.