Summary
Evaluates an expression.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .JavaScript - Containing Type
- IJavaScriptEngine
Syntax
Object Evaluate(string expression, string documentName)
Parameters
Name | Type | Description |
---|---|---|
expression | string | JavaScript expression |
documentName | string | Document name |
Return Value
Type | Description |
---|---|
Object | Result of the expression |