TestJsEngine.

CallFunction<T>(string, Object[]) Method

Summary

Calls a JavaScript function.

Syntax

public 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.
GitHub