lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Jun 1, 2009, at 7:53 AM, Vaughan McAlley wrote:

I agree it's sometimes useful to see if a value == nil. Could nil be
given an __eq metamethod?

Yes, you can attach a metamethod to nil.