# `AshLua.Resource.Info`
[🔗](https://github.com/ash-project/ash_lua/blob/v0.1.0/lib/ash_lua/resource/info.ex#L5)

Introspection helpers for `AshLua.Resource`.

# `expose?`

```elixir
@spec expose?(Ash.Resource.t() | Spark.Dsl.t()) :: boolean()
```

Whether the resource should be exposed to Lua. Defaults to `true`.

# `name`

```elixir
@spec name(Ash.Resource.t() | Spark.Dsl.t()) :: String.t()
```

The Lua key (under the domain table) to expose this resource as.

Falls back to snake_case of the resource module's last segment.

---

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