(key: string)
| 415 | } |
| 416 | |
| 417 | public into(key: string): DataArray<unknown> { |
| 418 | let result: unknown[] = []; |
| 419 | for (let child of this.values) { |
| 420 | let value = (child as Record<string, unknown>)[key]; |
| 421 | if (value === undefined || value === null) continue; |
| 422 | |
| 423 | result.push(value); |
| 424 | } |
| 425 | |
| 426 | return this.lwrap(result); |
| 427 | } |
| 428 | |
| 429 | public expand(key: string): DataArray<unknown> { |
| 430 | let result = []; |