MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / findInputSlotFree

Method findInputSlotFree

src/LGraphNode.ts:2124–2126  ·  view source on GitHub ↗
(optsIn?: FindFreeSlotOptions)

Source from the content-addressed store, hash-verified

2122 optsIn?: FindFreeSlotOptions & { returnObj?: TReturn },
2123 ): INodeInputSlot | -1
2124 findInputSlotFree(optsIn?: FindFreeSlotOptions) {
2125 return this.#findFreeSlot(this.inputs, optsIn)
2126 }
2127
2128 /**
2129 * Finds the first free output slot.

Callers 1

findConnectByTypeSlotMethod · 0.80

Calls 1

#findFreeSlotMethod · 0.95

Tested by

no test coverage detected