isMatching

abstract fun isMatching(itemStack: ItemStack): Boolean(source)

This function is used to check if the item is matching the given item stack

Return

True if the item is matching the item stack, false otherwise

Parameters

itemStack

The item stack to check if it is matching