Lasso Soft Inc. > Home

[ any->type ]


Returns the type of the current object.

  • Syntax
  • Beginner

To return the type of an object:

Use the [any->type] method. The following example tests whether a variable is of type array, and if so then inserts a new value to the array. Finally the result is output.


local( mylocal = array('a','b','c') )

if(#mylocal->type == 'array') => {



array(a, b, c, d)

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft