[any->isNotA] tests if a type is not of the specified type. Requires a type as a parameter.
Use the [any->isnota] method. The following example tests whether a variable is not of type array, and returns true.
To redefine a local variable if it is not of the specified type:
Use [any->isNotA] within a ternary conditional.
local(mylocal)->isnota(::array) ? #mylocal = array #mylocal
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