AppleScriptResult: string | number | boolean | undefined | AppleScriptResult[]

The value an AppleScript returns: a string, number or boolean, an array for a list result (possibly nested), or undefined when the script returns no value. Results of any other type (such as records or object specifiers) come through in their string form, or undefined when they have none.