Skip to main content
Module

x/cliffy/packages/table/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://deno.land/x/cliffy@v0.6.1/packages/table/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.