Skip to content
Dan Gorman edited this page Nov 29, 2018 · 3 revisions

The T Function

Function Group: Text

T returns a string as text.

Syntax

T(arg1)

  • arg1 is a string or reference to a string

Uses

T is not commonly used as an explicit function (as it doesn't do coercion), and it will simply return the text value of a string or object reference:

{  
   "data":{  
      "driver_name": "error, could not retrieve driver name"
   }
}

T(data.driver_name)

returns "error, could not retrieve driver name"

Notes

T will return an error if it is not passed a string as an argument.

Clone this wiki locally