/tg/ Station 13 - Modules - TypesDefine Details

code/__HELPERS/nameof.dm

NAMEOFNAMEOF: Compile time checked variable name to string conversion evaluates to a string equal to "X", but compile errors if X isn't a var on datum. datum may be null, but it does need to be a typed var.
NAMEOF_STATICNAMEOF that actually works in static definitions because src::type requires src to be defined

Define Details

NAMEOF

NAMEOF: Compile time checked variable name to string conversion evaluates to a string equal to "X", but compile errors if X isn't a var on datum. datum may be null, but it does need to be a typed var.

NAMEOF_STATIC

NAMEOF that actually works in static definitions because src::type requires src to be defined