Closed Aeledfyr closed 2 months ago
Implements the __lt and __le metamethods, and implements versions of math.min and math.max that support those metamethods.
__lt
__le
math.min
math.max
This also changes the default comparison behavior to not automatically convert strings to numbers in comparisons, to match PRLua 5.4.
Along with #88, this implements the last of the missing metamethods.
This looks really good, thank you!
Implements the
__lt
and__le
metamethods, and implements versions ofmath.min
andmath.max
that support those metamethods.This also changes the default comparison behavior to not automatically convert strings to numbers in comparisons, to match PRLua 5.4.
Along with #88, this implements the last of the missing metamethods.