docs
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
: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();
|
||||
```
|
||||
Reference in New Issue
Block a user