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

typename(27) returns User or Group

Open in Github Built: Mon, Nov 21, 2022 (01:51:50 PM)

On This Page

FEEDBACK