contains

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

Checks if any of the other player's offered items exists with any of the specified ids param id the item ids

Return

true if any of the other player's offered items exists with any of the specified ids, false otherwise


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

Checks if any of the other player's offered items exists with any of the specified names param name the item names

Return

true if any of the other player's offered items exists with any of the specified names, false otherwise


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

Checks if any of the other player's offered items exists matching the specified filter param filter the item filter

Return

true if any of the other player's offered items exists matching the specified filter, false otherwise