|
On 22 September 2013 12:47, Jayanth Acharya <jayachar88@gmail.com> wrote:
In the list of published metamethods available in every document that I read, I seem to be unable to find __gt and __ge anywhere. Are those really no present, or am I missing something (like checking the right place, doc) ?
If those are really absent, then does it mean we cannot use metatables to support the > and >= operators for say table comparison ?See [1] and the notes after each of the "le" and "lt" operators, the operators you mention come for free when you define other operators.