UNPKG

@polygonjs/polygonjs

Version:

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

22 lines (21 loc) 491 B
/** * adds the character 0 at the beginning of a workd * * @remarks * It takes 2 arguments. * * `padzero(count, word_or_number)` * * - `count` - number of character the word will have * - `word_or_number` start of the word * * ## Usage * * - `padzero(4, 5)` - returns '0005' * */ import { BaseMethod } from './_Base'; export declare class PadzeroExpression extends BaseMethod { static requiredArguments(): string[][]; processArguments(args: any[]): Promise<string>; }