This shows you the differences between the selected revision and the current version of the page.
ptpscript:functions:functionexists 2006/05/27 19:21 | ptpscript:functions:functionexists 1970/01/01 00:00 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======functionexists====== | ||
- | <box> | ||
- | Check if a [[PTPScript:Functions|function]] exists. | ||
- | |||
- | \\ | ||
- | **Syntax** | ||
- | * ''[[PTPScript:Types:Boolean|Boolean]] functionexists( [[PTPScript:Types:String|String]] name )'' | ||
- | |||
- | \\ | ||
- | **Parameters** | ||
- | * [[PTPScript:Types:String|String]] ''name'' - The function to check for. | ||
- | |||
- | \\ | ||
- | **Result** | ||
- | * [[PTPScript:Types:Boolean|Boolean]] - Whether the function exists. | ||
- | </box> | ||
- | |||
- | Returns a Boolean indicating whether function ''name'' exists. | ||
- | |||
- | ~~DISCUSSION~~ |