[any->isA] tests if a type is of the specified type. Requires a type as a parameter.
any->isa(::type)
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.
Code
! var(myvar)->isA(::array)
? $myvar = array('a','b','c')
$myvar
Result
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.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments