getUsesLeft

fun getUsesLeft(item: ItemStack?): Int?

Remaining charges of item, or null if it has no durability data.