IsCHTMLBrowser
→ booleanReturns whether a user-agent string represents a CHTML browser (e.g. feature phones).
Available in:
Email
CloudPage
Automation
Triggered Send
Syntax
Platform.Function.IsCHTMLBrowser(userAgentString)
1 argument
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
userAgentString |
string | Yes | User-agent value to evaluate |
Example
Platform.Response.Write(Platform.Request.UserAgent);
Platform.Response.Write("<br>Is CHTML: ");
Platform.Response.Write(
Platform.Function.IsCHTMLBrowser(Platform.Request.UserAgent)
);