UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

23 lines (22 loc) 604 B
/** * 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 requiredArguments(): string[][]; processArguments(args: any[]): Promise<any>; private _create_function; }