Home > PHP > Function > Enchant > enchant_broker_dict_exists()

enchant_broker_dict_exists()

enchant_broker_dict_exists - Whether a dictionary exists or not. Using non-empty tag

Syntax

bool enchant_broker_dict_exists (resource $broker, string $tag)

Arguments

  • broker - Broker resource
  • tag - non-empty tag in the LOCALE format, ex: us_US, ch_DE, etc.

Description

Tells if a dictionary exists or not, using a non-empty tags

Version

PHP PECL enchant >= 0.1.0

Return value

Returns TRUE when the tag exist or FALSE when not.