polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
23 lines (22 loc) • 612 B
TypeScript
/**
* The js expression allows to execute a javascript expression. This is very useful when you have specific requirements that are not addressed by the expressions available here.
*
* @remarks
* It takes 1 arguments.
*
* js(<js_expression\>)
*
* - **<js_expression\>** is a a string
*
* ## Usage
*
* - `js('Date.now()')` - returns the current time.
*
*/
import { BaseMethod } from './_Base';
export declare class JsExpression extends BaseMethod {
private _function;
static required_arguments(): string[][];
process_arguments(args: any[]): Promise<any>;
private _create_function;
}