# `Ash.Type.Atom`
[🔗](https://github.com/ash-project/ash/blob/v3.23.1/lib/ash/type/atom.ex#L5)

Stores an atom as a string in the database

A builtin type that can be referenced via `:atom`

### Constraints

* `:one_of` (`t:term/0`) - Allows constraining the value of an atom to a pre-defined list

* `:unsafe_to_atom?` (`t:boolean/0`) - Allows casting to atoms that don't yet exist in the system. See https://security.erlef.org/secure_coding_and_deployment_hardening/atom_exhaustion.html for more. The default value is `false`.

# `handle_change?`

# `prepare_change?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
