* Fetches the named input object. * * @param name The name of the input. * @returns The input object, or null if input does not exist.
(name: string)
| 2306 | * @returns The input object, or null if input does not exist. |
| 2307 | */ |
| 2308 | getInput(name: string): Input | null { |
| 2309 | for (let i = 0, input; (input = this.inputList[i]); i++) { |
| 2310 | if (input.name === name) { |
| 2311 | return input; |
| 2312 | } |
| 2313 | } |
| 2314 | // This input does not exist. |
| 2315 | return null; |
| 2316 | } |
| 2317 | |
| 2318 | /** |
| 2319 | * Fetches the block attached to the named input. |
no outgoing calls
no test coverage detected