Module

x/cliffy/packages/flags/lib/utils.ts>fill

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
function fill
import { fill } from "https://dotland.deno.dev/x/cliffy@v0.12.0/packages/flags/lib/utils.ts";

Fill string with given char until the string has a specified length.

Parameters

count: number

The length until the string will be filled.

optional
str: string = [UNSUPPORTED]

The string to fill.

optional
char: string = [UNSUPPORTED]

The char to fill the string with.