getFirstEmptySlot

fun Inventory.getFirstEmptySlot(): Int?

Gets the first slot index of the Inventory.getStorageContents that is completely empty.