Files
CHOMPStation2/code/_helpers/weakref.dm
CHOMPStation2StaffMirrorBot 09f82b6fff [MIRROR] The final action buttons PR (#9324)
Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
2024-10-27 00:00:36 +02:00

3 lines
195 B
Plaintext

/// Checks if potential_weakref is a weakref of thing.
#define IS_WEAKREF_OF(thing, potential_weakref) (isdatum(thing) && !isnull(potential_weakref) && thing.weak_reference == potential_weakref)