* Get a list box field by name. * * @returns The list box field, or undefined if not found or wrong type
(name: string)
| 363 | * @returns The list box field, or undefined if not found or wrong type |
| 364 | */ |
| 365 | getListBox(name: string): ListBoxField | undefined { |
| 366 | const field = this.fieldsByName.get(name); |
| 367 | |
| 368 | return field instanceof ListBoxField ? field : undefined; |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * Get a signature field by name. |