cleanup, docs
This commit is contained in:
@@ -14,4 +14,8 @@ Clears the value and makes it an empty list-shaped map. Subsequent `push()` call
|
||||
|
||||
|
||||
:example
|
||||
print("DValue::set_array example\n");
|
||||
DValue list;
|
||||
list.set_array();
|
||||
DValue item; item.set("first");
|
||||
list.push(item);
|
||||
print("is_list=", list.is_list() ? "yes" : "no", " count=", list.keys().size(), "\n");
|
||||
|
||||
Reference in New Issue
Block a user