getPropertyType: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) m (Added version.) |
Verisimilar (talk | contribs) m (Updated with recent version changes.) |
||
Line 1: | Line 1: | ||
{{stub|Examples of usage.}} | |||
{{MacroFunction | {{MacroFunction | ||
|name=getPropertyType | |name=getPropertyType | ||
|version=1.3b48 | |version=1.3b48 | ||
|description= | |description= | ||
Returns the [[ | Returns the [[Property Type]] of a [[Token]]. | ||
|usage= | |usage= | ||
Line 9: | Line 10: | ||
getPropertyType() | getPropertyType() | ||
</source> | </source> | ||
<source lang="mtmacro" line> | |||
getPropertyType(id) | |||
</source> | |||
'''Parameter''' | |||
{{param|id|The token {{code|id}} of the token which has its [[Property Type]] returned, defaults to the [[Current Token]]. {{TrustedParameter}} }} | |||
|also= | |||
[[setPropertyType|setPropertyType()]] | |||
|changes= | |||
{{change|1.3b51|Added {{code|id}} parameter option.}} | |||
}} | }} | ||
[[Category:Token Function]] | [[Category:Token Function]] |
Revision as of 02:10, 31 March 2009
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
This article needs: Examples of usage.
getPropertyType() Function
• Introduced in version 1.3b48
Returns the Property Type of a Token.
Usage
getPropertyType()
getPropertyType(id)
Parameter
id
- The tokenid
of the token which has its Property Type returned, defaults to the Current Token.Note: This parameter can only be used in a Trusted Macro.
See Also
Version Changes
- 1.3b51 - Added
id
parameter option.