Goonstation 13 - Modules - TypesDefine Details

_std/macros/items.dm

isitemReturns true if the given x is an item.
isgrabReturns true if the given x is a grab (obj/item/grab)
equipped_or_holdingReturns true if x is equipped or inside & usable in what's equipped (currently only applicable to magtractors)
IS_WORN_BY_SOMEONE_OTHER_THANReturns TRUE if item is worn by a human other than user, FALSE otherwise

Define Details

IS_WORN_BY_SOMEONE_OTHER_THAN

Returns TRUE if item is worn by a human other than user, FALSE otherwise

equipped_or_holding

Returns true if x is equipped or inside & usable in what's equipped (currently only applicable to magtractors)

isgrab

Returns true if the given x is a grab (obj/item/grab)

isitem

Returns true if the given x is an item.