This repository has been archived by the owner on Oct 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Dan Gorman edited this page Nov 29, 2018
·
3 revisions
T
returns a string as text.
T(arg1)
-
arg1
is a string or reference to a string
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"
T
will return an error if it is not passed a string as an argument.