uce/site/doc/pages/2_DValue_push.txt
2026-06-16 12:21:31 +00:00

19 lines
397 B
Plaintext

:sig
void DValue::push(const DValue& child)
:params
child : value to append/copy
return value : none
:see
0_DValue
2_DValue_pop
2_DValue_set_array
:content
Appends a child under the next numeric key. Empty values become list-shaped. Existing contiguous lists continue at their size; non-list maps use the next unused numeric key and remain non-list.
:example
print("DValue::push example\n");