contains

open fun contains(itemId: Array<Int>): Boolean

Determines if the bank contains the given itemId by looking through the banking interface.

Return

True if the banking interface contains the itemId. False if the bank isn't open or doesn't contain the item.

Parameters

itemId

The id of the item that is checked.


open fun contains(name: Array<String>): Boolean

Checks if any bank item exists with the specified name

Return

true if any bank item exists with the specified name, false otherwise

Parameters

name

the item name


open fun contains(filter: Predicate<Item>): Boolean

Checks if any bank item exists matching the specified filter

Return

true if any bank item exists with the specified name, false otherwise

Parameters

filter

the item filter