[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Metatable methods
- From: Александр Машин <alex.mashin@...>
- Date: Tue, 21 Dec 2021 16:44:31 +0700
Dear all,
Is there a way to find out whether metatable methods __pairs() and
__ipairs() are invoked by pairs() and ipairs() other than
checking _VERSION (my code will be run in an exotic environment)
or probing, i.e. defining such metamethods for a dummy table and
checking, if they are actually called?
Alexander Mashin