aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/array-flatten.md
blob: eaab19c5b2be7615c0ba834ec199629a97caa297 (plain)
1
2
3
4
5
## Array `.flatten()` method

Arrays now have a `.flatten()` method, which turns nested arrays into a single
flat array. This provides the same effect that Meson often does to arrays
internally, such as when passed to most function arguments.