View Source SpellChex.Dictionary (spell_chex v0.1.0)
Module used to create a dictionary of words in a GenServer.
This module must be started by the host application before it can be used.
Summary
Functions
Returns a specification to start this module under a supervisor.
Determines if a given word is in the list of known words.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Determines if a given word is in the list of known words.
Returns true or false.
Examples
iex> SpellChex.exists?("dog")
true
iex> SpellChex.exists?("asdfas")
false