• Модуль: rest
  • Путь к файлу: ~/bitrix/modules/rest/lib/engine/access/holdentity.php
  • Класс: BitrixRestEngineAccessHoldEntity
  • Вызов: HoldEntity::is
static function is(string $type, string $code) : bool
{
	$list = static::get();
	return isset($list[$type]) && in_array($code, $list[$type]);
}