cleanup, docs
This commit is contained in:
@@ -15,6 +15,6 @@ return value : true when the dereferenced value is map-shaped and contains the k
|
||||
Checks for a child key without creating it. Returns false for scalars and missing keys.
|
||||
|
||||
:example
|
||||
DValue user;
|
||||
user["name"] = "Ada";
|
||||
print(user.has("name") ? "yes\n" : "no\n");
|
||||
DValue u;
|
||||
u["name"] = "Ada";
|
||||
print(u.has("name") ? "has name" : "no name", " / ", u.has("age") ? "has age" : "no age", "\n");
|
||||
|
||||
Reference in New Issue
Block a user