uce/site/doc/pages/2_DValue_is_reference.txt
2026-06-15 21:42:50 +00:00

18 lines
434 B
Plaintext

:sig
bool DValue::is_reference() const
:params
return value : true when this node itself is a reference node
:see
0_DValue
2_DValue_reference_target
2_DValue_deref
:content
Reports whether the current node's direct type tag is the internal reference tag. Most read methods dereference automatically; this helper is mainly useful when handling reference-aware runtime state.
```cpp
if(value.is_reference()) print("reference");
```