typename() Function

Function

typename( typeNumber )

Returns the type name of a given type number.

See also: typeof(), Delete Data Types

Parameters

Keyword Type Description

typeNumber

Number (Integer)

The type number to be inquired for its name. This may be retrieved by using typeof(x), where x is a value of the intended type, or referencing a type with 'type!{namespace}type-name' (within single quotes).

Returns

Text

Usage considerations

Referencing data types

  • To retrieve the type number, use typeof(x), where x is a value of the intended type, or reference a type with type!{namespace}type-name (within single quotes).
  • When referencing a data type, consider the impact that deleting the data type has on the expression that references it.

Examples

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

Test Input

typename(27) returns User or Group

Open in Github Built: Mon, Oct 18, 2021 (02:58:47 PM)

On This Page

FEEDBACK