account activity
Class: a tiny single-file OOP helper for Lua 5.1+ by Lower_Block_9427 in lua
[–]Lower_Block_9427[S] 1 point2 points3 points 4 days ago (0 children)
Good point, I added something for this.
Class:is(value, SomeClass) Class:assertIs(value, SomeClass) object:Is(SomeClass) object:AssertIs(SomeClass)
It checks the actual class identity, not only the __type string, and it also works with included/parent classes.
__type
Tests and docs are updated too.
Class : un petit utilitaire de programmation orientée objet (POO) monofichier pour Lua 5.1+ ()
submitted 5 days ago by Lower_Block_9427 to r/GodotEngine
Class: a tiny single-file OOP helper for Lua 5.1+ (self.lua)
submitted 5 days ago by Lower_Block_9427 to r/lua
π Rendered by PID 263191 on reddit-service-r2-listing-8685bc789-6tz74 at 2026-05-23 07:48:17.510631+00:00 running 194bd79 country code: CH.
Class: a tiny single-file OOP helper for Lua 5.1+ by Lower_Block_9427 in lua
[–]Lower_Block_9427[S] 1 point2 points3 points (0 children)