[Null->Type] returns the data type of a value.
Methods for Null can be used on values of any data type including custom, third party data types.
Value->Type
Use the [Null->Type] method. The following example stores values of different types in an array, then fetches the type for each value.
Code
local(values = array('Hello', 123, 123.456, Null))
with v in #values
do => {^
#v + ': ' + #v->type + '\r'
^}
Result
Hello: string 123: integer 123.456000: decimal : null
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments