IsStruct
Determine whether a value is a struct
Method Signature
Arguments
Argument
Type
Required
Description
Default
variable
any
true
The value to test for structi-ness.
Examples
isStruct Example
Returns true if variable is a Boxlang structure or is a Java object that implements the java.lang.Map interface.
Result: true
isStruct Example for False
Returns false is the object in the variable parameter is a user-defined function UDF). In the example below exponent is a function created by the user
Result: false
Additional Examples
Related
Last updated
Was this helpful?