Difference between revisions of "Axis optionExists"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Axis set modifying CGScript functions]]
 
[[Category:Axis set modifying CGScript functions]]
 +
{{HelpFiles}}
  
 
====Axis_optionExists====
 
====Axis_optionExists====

Revision as of 11:33, 12 December 2011




Axis_optionExists

Returns true if the given axis contains axis options matching the name passed as argument to the method and false otherwise.

Syntax

Axis_optionExists(axis, optionName)

Arguments

axis: Is an axis array, created by Axis_new function.

optionName: Is a string expression, which is name of the option to look up.

Return type

bool

Examples

bool b = Axis_optionExists(ageGroupAxis, "Adult");

Availability

Version 5.5