boolean public
\Bitrix\Conversion\Internals\MobileDetect::isMobile(
null $userAgent = null,
null $httpHeaders = null
);
Check if the device is mobile.
Returns true if any type of mobile device detected, including special ones
Parameters
ParameterDescriptionVersion
$userAgentdeprecated
$httpHeadersdeprecated
Examples