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