Ecto.Type.primitive-question-mark

You're seeing just the function primitive-question-mark, go back to Ecto.Type module for more information.

Specs

primitive?(t()) :: boolean()

Checks if we have a primitive type.

iex> primitive?(:string)
true
iex> primitive?(Another)
false

iex> primitive?({:array, :string})
true
iex> primitive?({:array, Another})
true