isPropertyEmpty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(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...)
 
No edit summary
Line 1: Line 1:
==Function isPropertyEmpty==
==Function isPropertyEmpty==


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


===Usage===
===Usage===

Revision as of 13:18, 13 December 2008

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 = isEmpty(propertyName)]


Examples

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