Inserts an absent key and a detached same-document node. Duplicates never replace silently. All depth/storage checks precede mutation. Node pointers remain stable across array/index growth. Example: error = toml_insert(*doc, doc.root, "count", value);
Signature
toml_insert :: (
doc: *Toml_Document,
table: *Toml_Value,
key: string,
value: *Toml_Value
) -> Toml_Error