string.typeToString

Syntax string.typeToString (type)

Params type is a four-character string.

Action Finds a human-readable expression of the type of the string.

Returns The resulting string.

Examples string.typeToString ('optx')

   » "outlineType"

string.typeToString (typeOf (scratchpad))

   » "tableType"

string.typeToString (typeOf (user [1] [1]))

   » "stringType"

Notes We needed this for a web-based object database browser.

It may come in handy in other similar applications.

It's an inverted system.compiler.language.constants.

This verb is implemented as a script.

See Also typeOf

Discuss