polygonjs-engine
Version:
node-based webgl 3D engine https://polygonjs.com
25 lines (24 loc) • 692 B
TypeScript
/**
* Returns the number at the end of a string
*
* @remarks
* It takes 1 arguments.
*
* opdigits(<word\>)
*
* - **<word\>** returns the number at the end of word
*
* ## Usage
*
* - `opdigits('/geo1')` - returns 1
* - `opdigits($OS)` - returns the number at the end of the name of the current node
*
*/
import { BaseMethod } from './_Base';
import { MethodDependency } from '../MethodDependency';
export declare class OpdigitsExpression extends BaseMethod {
protected _require_dependency: boolean;
static required_arguments(): string[][];
find_dependency(index_or_path: number | string): MethodDependency | null;
process_arguments(args: any[]): Promise<any>;
}