- itemIs(slotData: undefined | IActionBarSlotData | Omit<IUsableActionPossibleUsing, "item" | "creature" | "doodad" | "npc"> & {
creature?: [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
doodad?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
item?: [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
npc?: [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
}, item: default): boolean
-
Parameters
-
slotData: undefined | IActionBarSlotData | Omit<IUsableActionPossibleUsing, "item" | "creature" | "doodad" | "npc"> & {
creature?: [id: number, type: Creature, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
doodad?: [id: number, type: Doodad, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
item?: [id: number, type: Item, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
npc?: [id: number, type: NPC, context?: ReferenceContext, islandId?: `${number},${number}`, objectId?: number];
}
-
Returns boolean