Confirmation of getting rid of global function

From what I understand if I create a global function such as:

[code]function myNewFunction ()

end[/code]

I then need to nil it out so garbage collector can get hold of it, so I’m under the assumption that all I need to do at some point is:

myNewFunction = nil

Is that all I need to do to get rid of a global function? [import]uid: 107915 topic_id: 35537 reply_id: 335537[/import]