RAD function: type

A RAD function returns the numeric type of a datum. See Data types for a numeric representation of each data type.

Function

type

Format

$ttype=type($any.value)

Parameters

The following parameter is valid for the type function:

Parameter Data type Description
$any.value String Any literal or variable.

Example

$ttype=type('2/15/96')

After execution, the value of $ttype is three (3).