attributeExists?()

Synopsis

Checks to see if an attribute is present in a block reference.

Syntax

attributeExists? ( handle As String, _
                   tag As String ) As Boolean 
Argument Type Description
handle string The handle of the insert. Must be the "modelSelf" handle, such as: first(insert_1.modelSelf) . Note: modelSelf returns a list, so you must use the first() function to retrieve only the first element.
tag string The attribute tag.

Example 1

Intent >attributeExists?(First(TestInsert.modelSelf), "Name") 
--> True