UNPKG

@polygonjs/polygonjs

Version:

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

23 lines (22 loc) 547 B
/** * Returns one argument from a space-separated arguments list * * @remarks * It takes 2 arguments. * * `arg(arguments, index)` * * - `arguments` space-separated arguments list * - `index` index of argument to return * * ## Usage * * - `opnane('a b c', 1)` - returns '1' * - `opname('this is great or is it not', 2)` - returns 'great' * */ import { BaseMethod } from './_Base'; export declare class ArgExpression extends BaseMethod { static requiredArguments(): string[][]; processArguments(args: any[]): Promise<any>; }