Skip to content

Function: strStart() ​

strStart(value, prefix): string

Defined in: src/formatters.ts:130

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

Parameters ​

value ​

string

The source string

prefix ​

string

The value to prepend if not present

Returns ​

string

The prefixed string

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