Evaluates an expression.
- Namespace
- Statiq
.Common - Containing Type
- IJavaScriptEngine
Syntax
T Evaluate<T>(string expression)
Type Parameters
| Name | Description |
|---|---|
| T | Type of result. |
Parameters
| Name | Type | Description |
|---|---|---|
| expression | string | JavaScript expression. |
Return Value
| Type | Description |
|---|---|
| T | Result of the expression. |