writes whether data has a value at `index`, which its default leaves alone if it's `defaultable`
(defaultable: boolean, index: string | number)
| 301 | |
| 302 | /** writes whether data has a value at `index`, which its default leaves alone if it's `defaultable` */ |
| 303 | jsHoldsElement(defaultable: boolean, index: string | number): string { |
| 304 | return defaultable && this.defaultsUndefined ? |
| 305 | `${index} < data.length && data[${index}] !== undefined` |
| 306 | : `${index} < data.length` |
| 307 | } |
| 308 | |
| 309 | /** the morphs writing its elements' defaults */ |
| 310 | defMorphs: Morph[] = |
no outgoing calls
no test coverage detected