* Parse this value into an array of `AstValue` objects, or error if it is not an array literal.
(this: ConformsTo<this, T, unknown[]>)
| 306 | * Parse this value into an array of `AstValue` objects, or error if it is not an array literal. |
| 307 | */ |
| 308 | getArray(this: ConformsTo<this, T, unknown[]>): AstValue<ArrayValueType<T>, TExpression>[] { |
| 309 | const arr = this.host.parseArrayLiteral(this.expression); |
| 310 | return arr.map((entry) => new AstValue<ArrayValueType<T>, TExpression>(entry, this.host)); |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Is this value a function expression? |
no test coverage detected