cleanup, docs

This commit is contained in:
root
2026-06-16 12:21:31 +00:00
parent dff1959341
commit ea08d5f28b
296 changed files with 1571 additions and 1940 deletions
+5 -3
View File
@@ -6,6 +6,7 @@ s : child key to test
return value : true when the dereferenced value is map-shaped and contains the key
:see
>types
0_DValue
2_DValue_key
2_DValue_get_by_path
@@ -13,6 +14,7 @@ return value : true when the dereferenced value is map-shaped and contains the k
:content
Checks for a child key without creating it. Returns false for scalars and missing keys.
```cpp
if(context.props.has("title")) print(context.props["title"].to_string());
```
:example
DValue user;
user["name"] = "Ada";
print(user.has("name") ? "yes\n" : "no\n");