TrimStartParams
Parameters for trimStart.
Import:
import type { TrimStartParams } from 'obsidian-dev-utils/string';Signature:
export interface TrimStartParamsProperties
| Property | Type | Description |
|---|---|---|
| prefix | string | The prefix to remove from the start of the string. |
| shouldValidate? | boolean | If true, throws an error if the string does not start with the prefix. |
| str | string | The string to trim. |
Links to this page: