typeof() Function

Function

typeof( value )

Returns the type number of a given value.

Parameters

Keyword Type Description

value

Any Type

The value to be inquired for type. For example, typename(typeof(123)) might return "Integer (Number)".

Returns

Integer

Examples

typeof(123) returns 1, which is the numerical representation of the Number (Int) system data type.

typeof(loggedInUser()) = type!User returns true

Feature compatibility

The table below lists this function's compatibility with various features in Appian.
Feature Compatibility Note
Portals Compatible
Offline Mobile Compatible
Sync-Time Custom Record Fields Compatible

Can be used to create a custom record field that only evaluates at sync time.

Real-Time Custom Record Fields Incompatible
Process Reports Compatible
Process Events Compatible
Open in Github Built: Fri, Feb 03, 2023 (08:17:45 PM)

On This Page

FEEDBACK