Click or drag to resize

PythonScriptContainsVariable Method

Determines if the main scripting context has a variable with a name.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public abstract bool ContainsVariable(
	string name
)

Parameters

name
Type: SystemString
The variable name.

Return Value

Type: Boolean
true if the variable is present.
See Also