# ref proc

Source: https://ref.dm-lang.org/proc/ref

### Format
> `ref(Object)`

### Args
> Object: The object to get a reference for

### Returns
> A string containing a reference ID.

This is a shortcut for `"ref[Object]"`.

### See also
- [\\ref text macro](https://ref.dm-lang.org/DM/text/macros/ref.md)
- [locate proc](https://ref.dm-lang.org/proc/locate.md)
