IsCHTMLBrowser

Overview

Indicates whether the passed-in user agent value represents a CHTML browser. CHTML browsers, such as those found on feature phones, use a modified version of HTML to display information on smaller screens with fewer resources than smartphones. This function returns a value of true or false indicating whether the browser uses CHTML. Use this value to determine whether or not to display CHTML content.

Syntax

IsCHTMLBrowser(1)

Function Properties

OrdinalTypeDescription
1stringRequiredValue indicating the browser using by the device

Example

This sample code evaluates the provided user-agent value and returns the appropriate value depending on the browser: