UNPKG

polygonjs-engine

Version:

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

22 lines (21 loc) 463 B
/** * returns the index of a character inside a string * * @remarks * It takes 2 arguments * * strIndex(<word\>, <character\>) * * - **<word\>** - a string * - **<character\>** - a string * * ## Usage * * - `strIndex('abcd ', 'c')` - returns 2 * */ import { BaseMethod } from './_Base'; export declare class StrIndexExpression extends BaseMethod { static required_arguments(): string[][]; process_arguments(args: any[]): Promise<number>; }