isPropertyEmpty

From RPTools Wiki
Revision as of 13:19, 13 December 2008 by Craig (talk | contribs)
Jump to navigation Jump to search

Function isPropertyEmpty

Returns 1 if the token property for the Current Token is empty. A token property is empty if it is null, if an empty string ("") has been assigned to it, it is not considered empty.

Usage

[h: empty = isPropertyEmpty(propertyName)]


Examples

[r, if(isPropertyEmpty(propertyName)): propertyName = someDefaultValue]