Home > PHP > Function > Enchant > enchant_dict_is_in_session()

enchant_dict_is_in_session()

enchant_dict_is_in_session - whether or not 'word' exists in this spelling-session

Syntax

bool enchant_dict_is_in_session (resource $dict, string $word)

Arguments

  • dict - Dictionary resource
  • word - The word to lookup

Description

Tells whether or not a word already exists in the current session.

Version

PHP PECL enchant >= 0.1.0

Return value

Returns TRUE if the word exists or FALSE