--- title: linTo - --- //[KSpigot](../index.md)/[net.axay.kspigot.inventory](index.md)/[linTo](lin-to.md) # linTo [jvm] Brief description This range contains all slots having an index between the indeces of the two given slots. Content infix fun <[T](lin-to.md) : [ForInventory](-for-inventory/index.md)> [SingleInventorySlot](-single-inventory-slot/index.md).[linTo](lin-to.md)(slot: [SingleInventorySlot](-single-inventory-slot/index.md)): [InventorySlotRange](-inventory-slot-range/index.md)<[T](lin-to.md)>