# `AshVersioned.ActorValue`

Resolves the provided actor using the actor configuration.

# `t`

```elixir
@type t() :: term()
```

All the types that implement this protocol.

# `actor_value`

```elixir
@spec actor_value(struct(), term()) :: {:ok, term()} | {:error, term()}
```

Extracts the value of the `actor` for storage in a field described by `config`.

Must return `{:ok, term()}` or `{:error, term()}`.

---

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