diff options
author | Jones <info@brainelectronics.de> | 2020-11-12 19:43:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-12 20:43:17 +0200 |
commit | 8351e85bbd531411691ba54bbb0bac6d96ae5bfd (patch) | |
tree | 157380f0782a785e0c5a86588c470f20889068ed /docs/markdown/Reference-manual.md | |
parent | 06de675df2172b6c6f9908686540ebf57b20db4a (diff) | |
download | meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.zip meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.tar.gz meson-8351e85bbd531411691ba54bbb0bac6d96ae5bfd.tar.bz2 |
interpreter: Add get_keys function for configuration_data (#7887)
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r-- | docs/markdown/Reference-manual.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 3af78ef..aeaeccb 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -2409,6 +2409,12 @@ page](Configuration.md) It has three methods: - `has(varname)`: returns `true` if the specified variable is set +- `keys()`*(since 0.57.0)*: returns an array of keys of + the configuration data object. + + You can iterate over this array with the [`foreach` + statement](Syntax.md#foreach-statements). + - `merge_from(other)` *(since 0.42.0)*: takes as argument a different configuration data object and copies all entries from that object to the current. |