contains

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

Checks if the make screen contains an item with the specified id

Return

true if the make screen contains an item with the specified id, false otherwise

Parameters

id

the item id


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

Checks if the make screen contains an item with the specified name

Return

true if the make screen contains an item with the specified name, false otherwise

Parameters

name

the item name


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

Checks if the make screen contains an item that matches the filter

Return

true if the make screen contains an item that matches the filter, false otherwise

Parameters

filter

the filter to check the items with