hasProperty: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
m (Added MacroFunction template and Token Function category)
m (Added version.)
Line 1: Line 1:
{{MacroFunction
{{MacroFunction
|name=hasProperty
|name=hasProperty
|version=1.3b48
|description=
|description=
Returns 1 if the [[Token:token property|token property]] with the specified name exits on the current [[Token:token|token]].
Returns 1 if the [[Token:token property|token property]] with the specified name exits on the current [[Token:token|token]].
Line 6: Line 7:
|usage=
|usage=
<source lang="mtmacro" line>
<source lang="mtmacro" line>
[h: propExsits = hasProperty(name)]
hasProperty(name)
</source>
</source>
}}
}}
[[Category:Token Function]]
[[Category:Token Function]]

Revision as of 11:59, 10 March 2009

hasProperty() Function

Introduced in version 1.3b48
Returns 1 if the token property with the specified name exits on the current token.

Usage

hasProperty(name)