isPropertyEmpty

From RPTools Wiki
Revision as of 15:51, 6 December 2008 by Craig (talk | contribs) (New page: ==Function isPropertyEmpty== Returns 1 if the Token:token property is empty. A Token:token property is empty if it is null, if an empty string ("") has been assigned to it, it i...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function isPropertyEmpty

Returns 1 if the token property 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 = isEmpty(propertyName)]


Examples

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