PassiveSupport.Atom.exists-question-mark

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

Specs

exists?(String.t() | atom()) :: boolean()

Returns true if the passed-in value resembles an existing atom and false if it does not.

Examples

iex> exists?(:foo)
true
iex> exists?("yes")
true
iex> exists?("bar")
false

iex> exists?("false")
true
iex> exists?("nil")
true