isFunctionDefined: Difference between revisions
Jump to navigation
Jump to search
Verisimilar (talk | contribs) mNo edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
|version=1.3b51 | |version=1.3b51 | ||
|description= | |description= | ||
Checks is a function has been defined using [[defineFunction|defineFunction()]]. Returns {{code|true}}({{code|1}}) if it has, or {{code|false}}({{code|0}}) if it has not. | Checks is a function has been defined using [[defineFunction|defineFunction()]]. Returns {{code|true}}({{code|1}}) if it has, or {{code|false}}({{code|0}}) if it has not. Returns '2' if the entered function is a built-in MapTool function rather than a user-defined function. | ||
|usage= | |usage= | ||
<source lang="mtmacro" line> | <source lang="mtmacro" line> | ||
isFunctionDefined() | isFunctionDefined("myFunction") | ||
</source> | </source> | ||
Revision as of 21:42, 2 July 2010
This article is a stub, you can help the RPTools Wiki project by contributing content to expand this article.
isFunctionDefined() Function
• Introduced in version 1.3b51
Checks is a function has been defined using defineFunction(). Returns
true
(1
) if it has, or false
(0
) if it has not. Returns '2' if the entered function is a built-in MapTool function rather than a user-defined function.Usage
isFunctionDefined("myFunction")