(PHP 8)
enchant_dict_is_added — 判斷「單字」是否存在於此拼寫工作階段中
$dictionary
$word
判斷單字是否已存在於目前工作階段中。
dictionary
由 enchant_broker_request_dict() 或 enchant_broker_request_pwl_dict() 傳回的 Enchant 字典。
word
要查詢的單字
如果單字存在則返回 true,否則返回 false。
true
false