Summary
Checks for the existence of a variable.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .JavaScript - Containing Type
- IJavaScriptEngine
Syntax
bool HasVariable(string variableName)
Parameters
Name | Type | Description |
---|---|---|
variableName | string | Variable name. |
Return Value
Type | Description |
---|---|
bool | true if the variable exists, otherwise false . |