cleanup, docs
This commit is contained in:
@@ -14,4 +14,7 @@ Reports whether the current node's direct type tag is the internal reference tag
|
||||
|
||||
|
||||
:example
|
||||
print("DValue::is_reference example\n");
|
||||
DValue target; target.set("x");
|
||||
DValue ref; ref.set_reference(&target);
|
||||
DValue plain; plain.set("y");
|
||||
print(ref.is_reference() ? "ref" : "plain", " / ", plain.is_reference() ? "ref" : "plain", "\n");
|
||||
|
||||
Reference in New Issue
Block a user