• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/orm/fields/booleanfield.php
  • Класс: BitrixMainORMFieldsBooleanField
  • Вызов: BooleanField::booleanizeValue
public function booleanizeValue($value)
{
	if (is_bool($value))
	{
		return $value;
	}

	$normalizedValue = $this->normalizeValue($value);
	return (bool) array_search($normalizedValue, $this->values, true);
}