uce/site/doc/pages/2_DValue_values.txt
2026-06-15 21:42:50 +00:00

20 lines
395 B
Plaintext

:sig
DValue DValue::values() const
:params
return value : a list-shaped DValue containing each iterated child value
:see
0_DValue
2_DValue_each
2_DValue_push
:content
Copies the values produced by `each()` into a new list-shaped `DValue`.
```cpp
DValue titles = articles.map([](const DValue& row, String) {
DValue v; v = row.get_by_path("title").to_string(); return(v);
}).values();
```