Lasso Soft Inc. > Home

[ any->isAllOf ]

Method

[any->isAllOf] tests whether an object matches all of the specified types or traits. Requires a comma-separated list of types or traits. Returns boolean.

  • Syntax
any->isallof(::type,::trait, ...)
Examples
  • Beginner

To test if an object is all of specified types or traits:

Use the [any->isAllOf] method. The following example tests whether an array is of type array and trait any, and returns true.

Code

array->isallof(::array,::any)

Result

true

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