PassiveSupport.Item.present-question-mark

You're seeing just the function present-question-mark, go back to PassiveSupport.Item module for more information.

Specs

present?(t()) :: boolean()

Returns true of any value that is not blank?/1

Examples

iex> present?({})
false
iex> present?(%{})
false
iex> present?(MapSet.new(1..10))
true
iex> present?(0)
true
iex> present?(nil)
false
iex> present?(false)
false
iex> present?("  ")
false
iex> present?(' ')
true
iex> present?(" hi ")
true