# issaved proc

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

### Format
> `issaved(Var)`

### Args
> Var: The variable to test.

This returns 1 if the given variable should be automatically saved when writing an object to a savefile and 0 otherwise. Variables which are not global, const, or tmp will return 1.

### See also
- [initial proc](https://ref.dm-lang.org/proc/initial.md)
- [savefile](https://ref.dm-lang.org/savefile/index.md)
- [tmp vars](https://ref.dm-lang.org/var/tmp.md)
- [vars list var (datum)](https://ref.dm-lang.org/datum/var/vars.md)
