UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 447 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 requiredArguments(): string[][]; processArguments(args: any[]): Promise<number>; }