toKInventory

fun Inventory.toKInventory(): KInventory?

Converts to a registered KInventory

Return

inventory if registered, null otherwise