• Модуль: location
  • Путь к файлу: ~/bitrix/modules/location/lib/entity/location/type.php
  • Класс: BitrixLocationEntityLocationType
  • Вызов: Type::isValueExist
static function isValueExist(int $value): bool
{
	$reflection = new ReflectionClass(static::class);
	$values = array_values($reflection->getConstants());

	return in_array($value, $values, true);
}