| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-19 | interpreter: Add a flatten() method to arrays | Dylan Baker | |
| This allows users to do two things, flatten potentially nested arrays themselves, and, to safely convert types that may be an array to not an array. ```meson x = [meson.get_external_property('may_be_array)].flatten() ``` ```meson x = ['a', ['b', 'c']] assert(x.flatten() == ['a', 'b', 'c']) ``` | |||
