CallFunction<T>(string, object[]) Method
Calls a JavaScript function.
Namespace
Statiq.Common
Containing Type
IJavaScriptEngine

Syntax

T CallFunction<T>(string functionName, params object[] args)

Type Parameters

Name Description
T Type of function result.

Parameters

Name Type Description
functionName string Function name.
args object[] Function arguments.

Return Value

Type Description
T Result of the function execution.