Skip to content

Function: strFinish() ​

strFinish(value, cap): string

Defined in: src/formatters.ts:113

Cap a string with a single instance of a given value.

Parameters ​

value ​

string

The source string

cap ​

string

The value to append if not present

Returns ​

string

The capped string

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.