typeof( value )
Returns the type number of a given value.
Keyword | Type | Description |
---|---|---|
|
Any Type |
The value to be inquired for type. For example, typename(typeof(123)) might return "Integer (Number)". |
Integer
typeof(123)
returns 1
, which is the numerical representation of the Number (Int) system data type.
typeof(loggedInUser()) = type!User
returns true
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 |
typeof() Function