Files
KSpigot/docs/-k-spigot/net.axay.kspigot.inventory/rect-to.md
bluefireoly 69b2e6cd17 Updated docs
2020-10-16 02:13:42 +02:00

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)>