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)

Define Details

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.