Lua Methods Reference > LuaField Methods > hasAttribute

hasAttribute
The hasAttribute method returns a Boolean indicating whether the field has the specified attribute.
Syntax
hasAttribute( name )
Arguments
 
Returns
(Boolean). A Boolean specifying if the field has the specified attribute.