18 lines
377 B
Plaintext
18 lines
377 B
Plaintext
:sig
|
|
StringList DValue::keys() const
|
|
|
|
:params
|
|
return value : child keys for map/list values; empty for scalars
|
|
|
|
:see
|
|
0_DValue
|
|
2_DValue_each
|
|
0_StringList
|
|
|
|
:content
|
|
Returns the keys produced by `each()`. Scalar values have no child key, so the result is empty. List-shaped values return their numeric keys as strings.
|
|
|
|
```cpp
|
|
StringList names = context.props["user"].keys();
|
|
```
|