21 lines
620 B
Markdown
21 lines
620 B
Markdown
---
|
|
title: rectTo -
|
|
---
|
|
//[KSpigot](../index.md)/[net.axay.kspigot.inventory](index.md)/[rectTo](rect-to.md)
|
|
|
|
|
|
|
|
# rectTo
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
This range contains all slots inside of a thought rectangle with the two given slots as two opposite corners of the rectangle.
|
|
|
|
|
|
Content
|
|
infix fun <[T](rect-to.md) : [ForInventory](-for-inventory/index.md)> [SingleInventorySlot](-single-inventory-slot/index.md)<out [T](rect-to.md)>.[rectTo](rect-to.md)(slot: [SingleInventorySlot](-single-inventory-slot/index.md)<out [T](rect-to.md)>): [InventorySlotRange](-inventory-slot-range/index.md)<[T](rect-to.md)>
|
|
|
|
|
|
|