enchant_dict_is_in_session
(PHP 5 >= 5.3.0, PHP 7, PECL enchant >= 0.1.0 )
enchant_dict_is_in_session — Whether or not 'word' exists in this spelling-session
说明
enchant_dict_is_in_session
( resource
$dict
, string $word
) : boolTells whether or not a word already exists in the current session.
参数
-
dict
-
Dictionary resource
-
word
-
The word to lookup
返回值
Returns TRUE
if the word exists or FALSE