cleanup, docs
This commit is contained in:
@@ -15,4 +15,6 @@ Ensures the value is map-shaped and returns the named child. If the key does not
|
||||
|
||||
|
||||
:example
|
||||
print("DValue::get_or_create example\n");
|
||||
DValue config;
|
||||
config.get_or_create("host")->set("localhost");
|
||||
print(config.has("host") ? config["host"].to_string() : "missing", "\n");
|
||||
|
||||
Reference in New Issue
Block a user