Ash.Type.cast_input

You're seeing just the function cast_input, go back to Ash.Type module for more information.
Link to this function

cast_input(type, term, constraints \\ [])

View Source

Specs

cast_input(t(), term(), constraints() | nil) ::
  {:ok, term()} | {:error, Keyword.t()} | :error

Casts input (e.g. unknown) data to an instance of the type, or errors

Maps to Ecto.Type.cast/2