lua-users home
lua-l archive

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


1. To convert a Lua value to boolean:

    bool = not not x

2. Exclusive or of Lua values x and y

    xor = not x == not y

Anything better?