Сhecks for the existence of a variable.
- Namespace
- Statiq
.Common - 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 . |