You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: better names for TrimStart and TrimEnd, i always get them the wrong way around and it's confusing
? Str
: _TrimStart<Strextends `${Head<Str>}${infer R}` ? R : never,Index,Increment<Iterator>>// TODO: better names for TrimStart and TrimEnd, i always get them the wrong way around and it's confusing// since there's also the Trim type which is for trimming whitespace/***trimsthecharactersupto`Index`offthestartof`String`(inclusive)* @example
The text was updated successfully, but these errors were encountered:
since there's also the Trim type which is for trimming whitespace
ts-helpers/src/utilityTypes/String.ts
Line 107 in 7942753
The text was updated successfully, but these errors were encountered: