Edit

TypeOf (variable)

Result Type: Number

Definition  Returns a number indicating the type of the variable parameter.

ConstantNotesExample
TypeTextVariable is a strings= "3.141"
typeof(s) // TypeText
TypeNumberVariable is numeric n = 3.141
typeof(n) // TypeNumber
TypeDateVariable is a date n = '6/7/17'
typeof(n) // TypeDate
TypeTableVariable is a tablet = createTable()
typeOf(t) // TypeTable
TypeSelectionVariable is a selections = createSelection("name", 1)
typeof(s) // TypeSelection
TypeArrayVariable is an array
Scripts only
let a = createArray()
typeof(a) // TypeArray
TypeHandleVariable is a handle
Scripts only
Let t = GetListHandle (w, "By Item")
typeof(t) // TypeHandle

Note  Arrays and handles are only available in scripts.

See Also:

SysLog: Write message to MoneyWorks_Gold.log

_NTDump: Get a textual dump of identifiers and values from the MoneyWorks nametable