isPropertyEmpty

From RPTools Wiki
Revision as of 12:22, 10 March 2009 by Verisimilar (talk | contribs) (Added version.)
Jump to navigation Jump to search

isPropertyEmpty() Function

Introduced in version 1.3b48
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

isPropertyEmpty("propertyName")

Example

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