equalByMaterial

fun equalByMaterial(item1: ItemStack?, item2: ItemStack?): Boolean

Whether two stacks share the same Material (ignores custom identity).