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

You can experiment with this function in the test box below.

Test Input

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

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

Open in Github Built: Mon, Nov 29, 2021 (03:22:58 PM)

On This Page

FEEDBACK