mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 21:44:34 +00:00
14 lines
411 B
Markdown
14 lines
411 B
Markdown
# Built-in procedure
|
|
|
|
## id!
|
|
|
|
Returns the unique identification number of the object.
|
|
Although in pure Erg semantics no difference can be found between objects with the same structure, in practice objects have different locations in memory.
|
|
`id!` returns a number representing this position.
|
|
|
|
```erg
|
|
```
|
|
|
|
<p align='center'>
|
|
<a href='. /08_procedure.md'>Previous</a> | <a href='. /10_array.md'>Next</a>
|
|
</p>
|