Skip to main content

getUserAgentDetails

function getUserAgentDetails(userAgent): UserAgentsDetails;

Returns a data set of user agent details and properties for quick browser and device checks

Parameters

ParameterTypeDescription
userAgentstringThe user agent string provided by client

Returns

UserAgentsDetails

Returns a data set of user agent details and boolean properties for quick browser and device checks based on userAgent