[any->isA] tests if a type is of the specified type. Requires a type as a parameter.
Use the [any->isA] method. The following example tests whether a thread variable is initialised, and if not then redefines it. Finally the code outputs the resulting variable.
! var(myvar)->isA(::array) ? $myvar = array('a','b','c') $myvar
array(a, b, c)
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.