isPropertyEmpty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(Applied Template:MacroFunction)
(No difference)

Revision as of 21:03, 8 March 2009

isPropertyEmpty() Function

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")]

Example

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